Deletion of project fails with useless error message: "Failed to open TCP connection to localhost:5000"
Summary
After deleting a project, the project is removed from the "Projects" list, but still appears in the "Frequently Visited" projects list. On the project's page, this message appears with an orange background:
This project was scheduled for deletion, but failed with the following message: Failed to open TCP connection to localhost:5000 (Connection refused - connect(2) for "localhost" port 5000)
Even if the underlying issue isn't fixed, the useless error message should be more informative.
Steps to reproduce
Delete a project, but I'm not sure exactly how to reproduce this issue.
Example Project
Not possible.
What is the current bug behavior?
The project remains after deletion, displays an error message, and still shows up in the "Frequently Visited" project list.
What is the expected correct behavior?
The project should disappear, show a 404 or something reasonable when accessing the project page, and should not appear in any list.
In the case where the project remains and shows an error message, the error message should say what it's trying to connect to, because localhost:5000
is useless information. It should say it's trying to connect to the "Tag Registry", or whatever it is. Make error messages verbose!
Relevant logs and/or screenshots
Description is sufficient.
Output of checks
n/a
Results of GitLab environment info
Wasn't able to retrieve before we blew away the instance.
Results of GitLab application Check
Wasn't able to retrieve before we blew away the instance.
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Didn't look.