Closed Bug 1483933 Opened 7 years ago Closed 7 years ago

Searchfox gives 502 errors when searching

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jrmuizel, Assigned: kats)

Details

This is possibly a dupe of bug 1483298. The searchfox indexing run is failing right now.
You can use dev.searchfox.org in the meantime I think.
This was unrelated to bug 1483298. I thought I fixed it with mozsearch/mozsearch#130 but after looking at the logs again I think that was not the root cause. It looks like some queries might be getting tested as errors with the gRPC API that weren't with the JSON API previously. E.g.: 2018-08-16 05:30:51.711268/pid=19084 - QUERY line: "JSFlatString|Atom)", file: ".*", repo: "mozilla-central|mozilla-central-__GENERATED__", fold_case: true, 2018-08-16 05:30:51.712556/pid=19084 - Unable to start codesearch: <_Rendezvous of RPC that terminated with: status = StatusCode.INVALID_ARGUMENT details = "line: missing ): JSFlatString|Atom)" debug_error_string = "{"created":"@1534397451.712341950","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1095,"grpc_message":"line: missing ): JSFlatString|Atom)","grpc_status":3}" And the error causes codeaearch.py to start another instance of the livegrep server. Maybe the query needs more escaping.
Assignee: nobody → kats
Report on MOC channel from xidorn that all searchfox.org searches return a 502 error. I directed him to dev.searchfox.org for now.
Thanks. I corrected the 502 error for now, will merge the above PR and rebuild to prevent it from reoccurring.
Fix for this is deployed now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.