dd-agent icon indicating copy to clipboard operation
dd-agent copied to clipboard

Fix Boto HTTP proxy configuration

Open mnussbaum opened this issue 7 years ago • 0 comments

What does this PR do?

This PR fixes Boto's HTTP proxy configuration within the agent.

Boto's proxy argument don't want the protocol on the proxy host. Configuration within Datadog itself requires this protocol, so strip it before we pass the proxy host to Boto.

Motivation

We need to proxy our dd-agent traffic out via a HTTP proxy. After configuring the HTTP proxy for the dd-agent we noticed it started failing to retrieve EC2 tags from the AWS API. We tracked the issue down to this misconfigured Boto proxy argument.

We've deployed this fix and seen the dd-agent successfully fetch tags via an HTTP proxy.

mnussbaum avatar Apr 11 '18 22:04 mnussbaum