Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Git Sourced Resources Don't Respect Web Proxy

Open FinnianDempsey opened this issue 10 months ago • 1 comments

Severity

blocking some customers from using new feature, workaround is to not use the feature

Version

2024.1.12210

Latest Version

I could reproduce the problem in the latest build

What happened?

When sourcing resources from Git, such as YAML or Terraform the default proxy is not respected

Reproduction

Configure Octopus to use a proxy and deny all other traffic Configure a Step template with Git Sourced resources e.g. Raw Yaml Step See error when creating a release

Error and Stacktrace

Unable to retrieve commit details from the provided Git repository at 'https://github.com/<username>/<repo>.git', for branch 'main'. Ensure that the Uri and credentials are correct, and try again.

More Information

Internal Link - Zendesk

Workaround

Source templates from a package or in-line instead, or create an allow rule for the git repository to be cloned

FinnianDempsey avatar Apr 05 '24 07:04 FinnianDempsey

I think this is your issue: https://github.com/libgit2/libgit2sharp/issues/1429

Seems like the libraries you are using need updating.

kralablee avatar Apr 05 '24 07:04 kralablee