[go: up one dir, main page]

Gitlab behind outbound proxy and AUTH

Hi all,

according to #124 (closed) it's possible to set environment variables http_proxy and https_proxy.

But my proxy requires username/password, and even if I set it with

gitlab_rails['env'] = {
        "http_proxy" => "http://username:password@proxyserver:3128",
        "https_proxy"=> "http://username:password@proxyserver:3128"
}

It does not work. In my production log I see

Net::HTTPServerException (407 "Proxy Authentication Required"):
  app/models/hooks/web_hook.rb:39:in `execute'
  app/services/test_hook_service.rb:4:in `execute'
  app/controllers/projects/hooks_controller.rb:28:in `test'

Does anyone have an idea why this does not work? With a normal "export" in the SSH shell it works.

Regards, Andy