PagerDuty Integration Does Not Respect HTTP_PROXY Environment Variables #47604
Labels
bug
c-do
Internal Customer Reference
teleport-plugin
Tickets related to Teleport Plugins https://github.com/gravitational/teleport-plugins
Expected behavior:
PagerDuty integration should successfully communicate with the PagerDuty API using the configured HTTP proxy settings (
HTTP_PROXY
andHTTPS_PROXY
environment variables) when making outbound network requests.Current behavior:
PagerDuty integration attempts to reach the PagerDuty API directly, ignoring the configured HTTP proxy settings. This results in a network timeout due to the integration not utilizing the HTTP proxy for egress traffic, causing failures in establishing communication.
Bug details:
Teleport version: v15.x, but v16.4.2 also appears to be affected.
Recreation steps:
HTTP_PROXY
andHTTPS_PROXY
environment variables for the Teleport process.Debug logs:
PagerDuty integration appears to instantiate an http Transport for use with go-resty. I think that it will need to use http.ProxyFromEnvironment on that instance in order for environment proxy settings to work.
The text was updated successfully, but these errors were encountered: