<?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>topic Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused) in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/243032#M31910</link>
    <description>&lt;P&gt;I am seeing the same issue on the AKS. Do you guys have a solution for above issue?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 15:35:29 GMT</pubDate>
    <dc:creator>chary441</dc:creator>
    <dc:date>2024-04-17T15:35:29Z</dc:date>
    <item>
      <title>Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/196597#M22920</link>
      <description>&lt;P&gt;I am trying to send metrics from spring Boot Application deployed in the host where Dynatrace operator and dynatrace One Agent in installed already. But am getting below error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Started Application ----&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Sending 102 lines to &lt;A href="http://localhost:14499/metrics/ingest" target="_blank" rel="noopener"&gt;http://localhost:14499/metrics/ingest&lt;/A&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;"io.micrometer.dynatrace.v2.DynatraceExporterV2"&lt;/DIV&gt;
&lt;DIV class=""&gt;"Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)"&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;I am trying deploy the application in same namespace and cluster where dynatrace operator and Agent are installed, And am not supplying url and token from my spring boot app since I am trying to deploying in the same host where agent/operator are running . Am I missing something here. Is it because My application is not able to establish a connection with Dynatrace Oneagent/Operator ?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;Please help on this&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Oct 2022 14:40:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/196597#M22920</guid>
      <dc:creator>GayathriVRadha</dc:creator>
      <dc:date>2022-10-17T14:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/202318#M24022</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55963"&gt;@GayathriVRadha&lt;/a&gt;&amp;nbsp;is that the correct port?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 19:41:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/202318#M24022</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-11T19:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/202367#M24035</link>
      <description>&lt;P&gt;And beside the port could also check that if the OneAgent metric api is enabled on those hosts since I'm assuming that currently your setup tries to send the data towards oneagent.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/local-api#enable-the-oneagent-metric-api" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/local-api#enable-the-oneagent-metric-api&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 13:11:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/202367#M24035</guid>
      <dc:creator>janne_olkoniemi</dc:creator>
      <dc:date>2023-01-12T13:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/242121#M31766</link>
      <description>&lt;P&gt;You got this working ? We are experiencing same problem here&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 20:02:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/242121#M31766</guid>
      <dc:creator>manisundaram</dc:creator>
      <dc:date>2024-04-08T20:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/242359#M31804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55963"&gt;@GayathriVRadha&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;We have the same probleam at a client environment however extension controller settings are enabled. Have you found the reason of the connection refuse message?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1712780672041.png" style="width: 557px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18833i899A7E9EB0154A86/image-dimensions/557x457?v=v2" width="557" height="457" role="button" title="Mizs_0-1712780672041.png" alt="Mizs_0-1712780672041.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 20:26:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/242359#M31804</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2024-04-10T20:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/243032#M31910</link>
      <description>&lt;P&gt;I am seeing the same issue on the AKS. Do you guys have a solution for above issue?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 15:35:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/243032#M31910</guid>
      <dc:creator>chary441</dc:creator>
      <dc:date>2024-04-17T15:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/243634#M31989</link>
      <description>&lt;P&gt;the same issue happened for me when using micrometer-dyantrace to automate send metric into dynatrace, is there any solution?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 02:47:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/243634#M31989</guid>
      <dc:creator>panda</dc:creator>
      <dc:date>2024-04-23T02:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/247970#M32712</link>
      <description>&lt;P&gt;Any update on this ? , For an OSGi system , We have added micrometer-dynatrace to send metrics via Oneagent installed in a host.We are getting the same error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*WARN* [dynatrace-metrics-publisher] io.micrometer.dynatrace.v2.DynatraceExporterV2 Failed metric ingestion: java.net.ConnectException: Connection refused&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 09:56:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/247970#M32712</guid>
      <dc:creator>krusheel</dc:creator>
      <dc:date>2024-06-11T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/256359#M33840</link>
      <description>&lt;P&gt;The problem might be because the feature of metric-ingest on the active gate is not enabled by default:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  activeGate:
    # Specifies which capabilities will be enabled on ActiveGate instances
    # The following capabilities can be set:
    # - routing
    # - kubernetes-monitoring
    # - metrics-ingest
    # - dynatrace-api
    #
    capabilities:
      - routing
      - kubernetes-monitoring
      - dynatrace-api&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Sep 2024 20:14:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/256359#M33840</guid>
      <dc:creator>m_zol</dc:creator>
      <dc:date>2024-09-18T20:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/264568#M34934</link>
      <description>&lt;P&gt;Hi, same issue here, does anybody know the solution? Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 11:25:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/264568#M34934</guid>
      <dc:creator>paolo_fumanelli</dc:creator>
      <dc:date>2024-12-06T11:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/264601#M34941</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55963"&gt;@GayathriVRadha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly check the below points for validation:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Network Connectivity&lt;/STRONG&gt;: Ensure that the server running Dynatrace has proper internet connectivity and can reach necessary endpoints.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Proxy Configuration&lt;/STRONG&gt;: If you're using a proxy, verify that it is configured correctly within Dynatrace.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Firewall Settings&lt;/STRONG&gt;: Ensure the necessary ports are open, as firewalls may block communication between Dynatrace and its back-end systems.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;DNS Resolution&lt;/STRONG&gt;: Sometimes issues with DNS can cause connection problems. Check whether DNS resolution works correctly for Dynatrace servers.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Increase Timeout&lt;/STRONG&gt;: In some cases, adjusting the timeout values in the Dynatrace settings can help resolve connection issues.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Check Logs&lt;/STRONG&gt;&lt;SPAN&gt;: Look for additional clues in the Dynatrace server logs or Java application logs that might highlight the root cause&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Check if these modules are properly enabled or not on the ActiveGates&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/sgw-configure#otlp_ingest_mod" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/sgw-configure#otlp_ingest_mod&lt;/A&gt;&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/sgw-configure#api_mod" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/sgw-configure#api_mod&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The proper token scopes ae configured to allow the metric ingestions&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Feel free to review the below sources for further help:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/ingestion-methods/oneagent-metric-api" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/ingestion-methods/oneagent-metric-api&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/ingestion-methods/micrometer" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/ingestion-methods/micrometer&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/ingestion-methods/oneagent-pipe" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/ingestion-methods/oneagent-pipe&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/metric-v2/post-ingest-metrics" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/metric-v2/post-ingest-metrics&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/reference/metric-ingestion-protocol" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/reference/metric-ingestion-protocol&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://www.youtube.com/watch?v=5F-7fVbsPdA" target="_blank"&gt;https://www.youtube.com/watch?v=5F-7fVbsPdA&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Hoping it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KR,&amp;nbsp;&lt;BR /&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 14:01:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/264601#M34941</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-12-06T14:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/272308#M35973</link>
      <description>&lt;P&gt;if its one agent ingest for the micrometer metrics and one agent reporting all fine with cluster ok , why would micrometer have issues ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 20:27:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Failed-metric-ingestion-java-net-ConnectException-Connection/m-p/272308#M35973</guid>
      <dc:creator>vinnu_arige_moe</dc:creator>
      <dc:date>2025-03-12T20:27:33Z</dc:date>
    </item>
  </channel>
</rss>

