Gitaly unreachable when using no_proxy environment variable
Description
- The gitaly server is unreachable when the no_proxy extraEnv variable is using a hostname.
- Actions that interact with Gitaly (pull, push, fetch, etc.) fail with 503 error:
% git fetch
remote: The git server, Gitaly, is not available at this time. Please contact your administrator.
fatal: unable to access 'https://<domain>/<group>/<repository>.git/': The requested URL returned error: 503
Environment
Install type
- Helm Chart
Impacted offerings:
- GitLab Self-Managed
Impacted versions:
- 17.9.3
- 17.10
Solution
This is a known bug
Fixed versions:
- 17.11.1
- 17.10.5
- 17.9.7
Workaround
Update the no_proxy configuration to use IP instead of hostname.
Cause
This is caused by an issue in the third-party gRPC library.
Additional Information
Further discussion on potential implementations to resolve the issue can be found here.