we are observing sporadic problems using the search feature of Discourse.
Observations
During the last weeks, we observed sporadic “500 Internal Server Error” responses when searching on https://community.hiveeyes.org/. While that might sound funny, we believe it actually depends on the search phrase.
The problem only happens when using the ad hoc search near the hamburger menu. When navigating to the search page /search before and invoking the search from there, everything is fine.
Now, after others also pointed us towards that problem on our platform, we finally wanted to start investigating this problem in detail.
See for yourself
Lucky us, we just have been able to reproduce it on Meta. So, when searching for “search returns 500”, we have been able to trigger that error deterministically. It also happens when not being logged in to the system.
The response is:
The search phrase is the bad guy – seriously?
It feels like that. Searching for “search croaks 500” in the same manner does not trigger that problem.
Upshot
We find this thing both weird and funny enough that we wanted to share our observations with you. While we are not exactly suffering badly, I believe you would like to investigate this if your time permits.
Thanks for listening and with kind regards,
Andreas.
P.S.: Triggering that error while searching for the issue on Meta makes it even more funny as I believe we all still love recursions.
thanks for the quick turnaround time on this, from confirmation to the actual fix. We are looking forward to receive this fix. Will it be included within 2.4.0.beta7 maybe?