Improve Gitaly connection error messages
A customer using a stand-alone Gitaly server recently ran into an issue where Gitaly-Ruby processes could not communicate with the main Gitaly process when executing UserCommitFiles
. Specifically, DNS was not responding when querying for the Gitaly hostname, but the error rpc error: code = Unavailable desc = failed to connect to all addresses
gave no indication where the problem was occurring.
Including the target that could not be connected to would make problems like this significantly easier to debug.
/cc @zj-gitlab
Edited by Will Chandler