<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Common issues when using Monaco with a proxy server in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Common-issues-when-using-Monaco-with-a-proxy-server/ta-p/231766</link>
    <description>&lt;H2&gt;Using Monaco with a proxy server&lt;/H2&gt;&lt;P&gt;In network environments where access to Dynatrace API endpoints is only possible or allowed via a proxy server, the Dynatrace Monaco CLI provides an option to specify the address of your proxy server when running a command. For details, &lt;A href="https://docs.dynatrace.com/docs/shortlink/configuration-as-code-commands#proxy" target="_self"&gt;see the documentation&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Troubleshooting tips&lt;/H2&gt;&lt;P&gt;If you're having issues reaching your Dynatrace environment via a proxy, this guide collects frequent issues and troubleshooting tips.&lt;/P&gt;&lt;P&gt;In general, a good indicator that there are problems with your proxy configuration are error logs of the following form, mentioning `proxyconnect`:&lt;/P&gt;&lt;PRE&gt;2023-12-05T12:00:00+01:00       error   : HTTP request failed: : proxyconnect tcp: dial tcp: &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM&gt;&lt;FONT face="andale mono,times"&gt;HTTP_PROXY&lt;/FONT&gt;&lt;/EM&gt; (HTTP) is set, but the connection fails.&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="andale mono,times"&gt;&lt;EM&gt;HTTPS_PROXY&lt;/EM&gt;&lt;/FONT&gt; (HTTPS) is needed for the configuration to apply to HTTPS connections to the environment.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The proxy connection works for some commands but not others.&lt;/TD&gt;&lt;TD&gt;Ensure the environment variable is set for the current terminal session or command that you're executing.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The proxy connection works from one machine but not from another. (For example, it works on a local device but not a Dynatrace laptop.)&lt;/TD&gt;&lt;TD&gt;Ensure you're connected to the same network and there are no other network configurations (e.g. a firewall) that allow only specific devices to connect to the proxy server.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The proxy URL contains a username/password with special characters, and the connection fails.&lt;/TD&gt;&lt;TD&gt;Ensure that the whole value of &lt;EM&gt;&lt;FONT face="andale mono,times"&gt;HTTPS_PROXY&lt;/FONT&gt;&lt;/EM&gt; is URL encoded. Special characters that are not correctly encoded will lead to the value being parsed incorrectly.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In network setups requiring a proxy, it is recommended to involve internal network experts (e.g. the IT department) as early as possible.&lt;/P&gt;&lt;P&gt;There are often additional factors and rules to networking that are not related to functional or configuration issues of Monaco and can't be addressed by Dynatrace Support.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 12:51:13 GMT</pubDate>
    <dc:creator>nico_riedmann</dc:creator>
    <dc:date>2023-12-13T12:51:13Z</dc:date>
    <item>
      <title>Common issues when using Monaco with a proxy server</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Common-issues-when-using-Monaco-with-a-proxy-server/ta-p/231766</link>
      <description>&lt;H2&gt;Using Monaco with a proxy server&lt;/H2&gt;&lt;P&gt;In network environments where access to Dynatrace API endpoints is only possible or allowed via a proxy server, the Dynatrace Monaco CLI provides an option to specify the address of your proxy server when running a command. For details, &lt;A href="https://docs.dynatrace.com/docs/shortlink/configuration-as-code-commands#proxy" target="_self"&gt;see the documentation&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Troubleshooting tips&lt;/H2&gt;&lt;P&gt;If you're having issues reaching your Dynatrace environment via a proxy, this guide collects frequent issues and troubleshooting tips.&lt;/P&gt;&lt;P&gt;In general, a good indicator that there are problems with your proxy configuration are error logs of the following form, mentioning `proxyconnect`:&lt;/P&gt;&lt;PRE&gt;2023-12-05T12:00:00+01:00       error   : HTTP request failed: : proxyconnect tcp: dial tcp: &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM&gt;&lt;FONT face="andale mono,times"&gt;HTTP_PROXY&lt;/FONT&gt;&lt;/EM&gt; (HTTP) is set, but the connection fails.&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="andale mono,times"&gt;&lt;EM&gt;HTTPS_PROXY&lt;/EM&gt;&lt;/FONT&gt; (HTTPS) is needed for the configuration to apply to HTTPS connections to the environment.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The proxy connection works for some commands but not others.&lt;/TD&gt;&lt;TD&gt;Ensure the environment variable is set for the current terminal session or command that you're executing.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The proxy connection works from one machine but not from another. (For example, it works on a local device but not a Dynatrace laptop.)&lt;/TD&gt;&lt;TD&gt;Ensure you're connected to the same network and there are no other network configurations (e.g. a firewall) that allow only specific devices to connect to the proxy server.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The proxy URL contains a username/password with special characters, and the connection fails.&lt;/TD&gt;&lt;TD&gt;Ensure that the whole value of &lt;EM&gt;&lt;FONT face="andale mono,times"&gt;HTTPS_PROXY&lt;/FONT&gt;&lt;/EM&gt; is URL encoded. Special characters that are not correctly encoded will lead to the value being parsed incorrectly.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In network setups requiring a proxy, it is recommended to involve internal network experts (e.g. the IT department) as early as possible.&lt;/P&gt;&lt;P&gt;There are often additional factors and rules to networking that are not related to functional or configuration issues of Monaco and can't be addressed by Dynatrace Support.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 12:51:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Common-issues-when-using-Monaco-with-a-proxy-server/ta-p/231766</guid>
      <dc:creator>nico_riedmann</dc:creator>
      <dc:date>2023-12-13T12:51:13Z</dc:date>
    </item>
  </channel>
</rss>

