API project search endpoint returns 500 error code

Summary

Since yesterday the API endpoint to search projects returns a 500 http error status code.

https://docs.gitlab.com/ee/api/search.html#scope-projects https://docs.gitlab.com/ee/api/projects.html#search-for-projects-by-name

Steps to reproduce

curl https://gitlab.com/api/v4/projects?search=some-project or open the url in the browser

or

curl https://gitlab.com/api/v4/search?scope=projects&search=test-project or open the url in the browser

What is the current bug behavior?

API returns 500 status code

What is the expected correct behavior?

API returns a list of projects

Relevant logs and/or screenshots

~ ❯❯❯ curl -vvv "https://gitlab.com/api/v4/projects?search=hook-setup-test"
*   Trying 35.231.145.151:443...
* TCP_NODELAY set
* Connected to gitlab.com (35.231.145.151) port 443 (#0)
* ALPN, offering http/1.1
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Server certificate: gitlab.com
* Server certificate: Sectigo RSA Domain Validation Secure Server CA
* Server certificate: USERTrust RSA Certification Authority
> GET /api/v4/projects?search=hook-setup-test HTTP/1.1
> Host: gitlab.com
> User-Agent: curl/7.66.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Server: nginx
< Date: Fri, 13 Dec 2019 10:40:59 GMT
< Content-Type: application/json
< Content-Length: 39
< Cache-Control: no-cache
< Vary: Origin
< X-Request-Id: 2kgeyWmjee9
< X-Runtime: 15.405411
< RateLimit-Limit: 600
< RateLimit-Observed: 2
< RateLimit-Remaining: 598
< RateLimit-Reset: 1576233719
< RateLimit-ResetTime: Fri, 13 Dec 2019 10:41:59 GMT
< GitLab-LB: fe-16-lb-gprd
< GitLab-SV: localhost
<
* Connection #0 to host gitlab.com left intact

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

This bug happens on GitLab.com

Results of GitLab application Check

This bug happens on GitLab.com

Possible fixes

Not sure

Edited Dec 13, 2019 by Stephan Vock
Assignee Loading
Time tracking Loading