Internal API available: FAILED - Internal API error (400) when switching from unicorn to puma with non-standard-port
Summary
When having defined a non-standard port for unicorn in gitlab.rb
the switch to puma with version 13 ends up in a 502 error and self-check with sudo gitlab-rake gitlab:check
shows Internal API available: FAILED - Internal API error (400)
on shell test.
Steps to reproduce
Due to a Tomcat-Server on same machine I had to change unicorn's listen port to 8090 in recent versions.
What is the current bug behavior?
With version 13 puma replaced unicorn but did not take over settings from gitlab.rb
What is the expected correct behavior?
Puma should look up unicorn's settings at first run to run correctly
Results of GitLab application Check
Expand for output related to the GitLab application check
GitLab Shell: ... GitLab Shell version >= 13.3.0 ? ... OK (13.3.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: FAILED - Internal API error (400) gitlab-shell self-check failed Try fixing it: Make sure GitLab is running; Check the gitlab-shell configuration file: sudo -u git -H editor /opt/gitlab/embedded/service/gitlab-shell/config.yml Please fix the error above and rerun the checks.