“To perplex” in Chinese is 困扰 (kùnrǎo).
这个问题一直困扰着我们,直到昨晚我们找到了原因并修复了它。
This problem was troubling us until last night when we found the cause and fixed it.
Example sentence from Tatoeba (CC BY 2.0).