Page MenuHomePhabricator

Using # character in a search on phabricator usually gives a 503 error page
Closed, DeclinedPublic

Description

I just tried to go to a project page from the search bar, and I typed #easy (for example), thinking that a project tag with that name exists, in the hope it would bring the project page, or a relevant search results page, but instead it took a while loading until I got a 503 error page:

Request: GET http://phabricator.wikimedia.org/search/query/lABEFF.lenKT/, from 10.64.32.133 via cp1056 cp1056 ([10.64.32.133]:80), Varnish XID 1485653376
Forwarded for: 83.47.121.95, 10.64.32.133
Error: 503, Service Unavailable at Tue, 25 Aug 2015 17:47:08 GMT

After trying different search terms, I discovered the error is reproducible whenever the search terms contains a # character. Well, not always: for one query it returned results, but it took a long time to execute, so I think this kind of query is very costly to the search engine. not sure why.

I don't know if it's an issue on WMF phabricator instance, because that doesn't seem to happen on phabricator.org. A misconfiguration, maybe?

Event Timeline

Ciencia_Al_Poder raised the priority of this task from to Needs Triage.
Ciencia_Al_Poder updated the task description. (Show Details)
Ciencia_Al_Poder added a project: Phabricator.
Ciencia_Al_Poder subscribed.

Odd; if I search for #fdsafdsa I correctly get https://phabricator.wikimedia.org/search/query/YHABqmh104hw/#R , and if I search for good first task, I get redirected to https://phabricator.wikimedia.org/tag/easy/

However, your query URL (http://phabricator.wikimedia.org/search/query/lABEFF.lenKT/) indeed takes ages to load (I gave up waiting).

Oh, that URL was from a different test, the #easy one was: http://phabricator.wikimedia.org/search/query/_Ho3K54SmhvK/ which now indeed resolves correctly

Maybe the results are now cached and it works... I've tried also #mediawiki-1.26 (which later saw it was not the correct tag) and it also takes a long time to load

Aklapper claimed this task.

It's slow but it works for me. Cannot reproduce, hence declining.