GitLab 15.9.0 webhooks ignoring no_proxy
We updated our GitLab recently from 15.8.1 to 15.9.0 We are using the omnibus installation and set in the gitlab.rb:
gitlab_rails['env'] = { "http_proxy" => "http://xxxxx", "https_proxy" => "http://xxxxx", "no_proxy" => "localhost,127.0.0.1,gitlab1,.ab.xxxx.net,.xxxx.net,.xxxxx.de", "PLANTUML_ENCODING" => "deflate" }
When executing webhooks the no_proxy configuration is ignored after updating to Gitlab 15.9. Our proxy can't reach internal systems that the webhook is exucted against, and the webhook fails due to a timeout.
I ran tcpdump on the GitLab machine for debugging. When executing a webhook in the UI the proxy server is used when the webhook target is in the no_proxy list.
We temporarily disabled proxy settings in the gitlab.rb completely and can now execute webhooks again.