Project

General

Profile

Actions

Bug #38195

closed

Template sync doesn't use proxy when ssh used

Added by Adam Lazik about 2 months ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Description of problem:

There is a new feature that allows template sync to use proxy when syncing templates. It's possible to sync templates using http or ssh (to/from git) but only http actually uses the proxy. The ssh connection goes directly. This is not documented. It's possible to specify a proxy even when ssh address is entered and the proxy is then silently ignored.

How reproducible:

Deterministic

Is this issue a regression from an earlier version:

Issue in a new feature

Steps to Reproduce:

1. In WebUI, go to Hosts -> Templates -> Sync Templates

2. As "Repo", specify a git ssh URI such as `ssh::port/user/reponame`

3. Specify other necessary settings, such as correct branch

4. Set HTTP proxy policy either to global, or to custom (and specify the custom HTTP proxy)

5. Submit

Actual behavior:

Proxy is not used

Expected behavior:

Either proxy should be used, or it should be documented that proxy can't be used for ssh and the UI (Web, Hammer, API) shouldn't allow to specify it together with ssh URI.


Related issues 1 (0 open1 closed)

Precedes Templates - Bug #38311: Redundant whitespaces in http_proxy_policy param descriptionClosedOleh FedorenkoActions
Actions

Also available in: Atom PDF