Dependencies API returns 500
Summary
GitLab API returns a 500
error for some projects when requesting dependencies.
Steps to reproduce
Example Project
- https://gitlab.com/api/v4/projects/gitlab-com%2fwww-gitlab-com/dependencies
- https://gitlab.com/api/v4/projects/gitlab-org%2fexpress-example/dependencies
Even the UI is failing:
What is the current bug behavior?
500
response:
{
message: "500 Internal Server Error"
}
What is the expected correct behavior?
200
with dependencies returned.
Relevant logs and/or screenshots
The dependency list page is also failing:
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)