<?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 OneAgent unable to connect when using Istio in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/ta-p/230217</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="tag"&gt;cloudNativeFullStack&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; &lt;SPAN class="tag"&gt;applicationMonitoring&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Example error in the logs on the OneAgent pods: &lt;CODE&gt;Initial connect: not successful - retrying after xs&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;You can fix this problem by increasing the OneAgent timeout. Add the following feature flag to DynaKube:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;kubectl annotate dynakube &amp;lt;name-of-your-DynaKube&amp;gt; feature.dynatrace.com/oneagent-initial-connect-retry-ms=6000  -n dynatrace&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more information, see&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/dto-feature-flags" target="_self"&gt;DynaKube feature flags for Dynatrace Operator&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 02:46:55 GMT</pubDate>
    <dc:creator>darynakovyrina</dc:creator>
    <dc:date>2024-02-08T02:46:55Z</dc:date>
    <item>
      <title>OneAgent unable to connect when using Istio</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/ta-p/230217</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="tag"&gt;cloudNativeFullStack&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; &lt;SPAN class="tag"&gt;applicationMonitoring&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Example error in the logs on the OneAgent pods: &lt;CODE&gt;Initial connect: not successful - retrying after xs&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;You can fix this problem by increasing the OneAgent timeout. Add the following feature flag to DynaKube:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;kubectl annotate dynakube &amp;lt;name-of-your-DynaKube&amp;gt; feature.dynatrace.com/oneagent-initial-connect-retry-ms=6000  -n dynatrace&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more information, see&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/dto-feature-flags" target="_self"&gt;DynaKube feature flags for Dynatrace Operator&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 02:46:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/ta-p/230217</guid>
      <dc:creator>darynakovyrina</dc:creator>
      <dc:date>2024-02-08T02:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent unable to connect when using Istio</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/tac-p/284581#M965</link>
      <description>&lt;P&gt;Excellent tip, thanks.&lt;/P&gt;&lt;P&gt;We had exactly this scenario: up to a 9-second delay and features like Log Trace/Span enrichment and Java Memory Profiling. For example, in an application with 5 pods, 2 worked and 3 didn't. After restart, 1 worked and 4 didn't, and so on. Sometimes 3 worked, randomly.&lt;/P&gt;&lt;P&gt;2025-08-21 03:05:10.792 UTC [00000007] info [comm] Initial connect: Connection to initial gateways failed (last error SSL connection timeout) using any of:&lt;/P&gt;&lt;P&gt;XXXX, XXXX, XXXX ...&lt;/P&gt;&lt;P&gt;2025-08-21 03:05:10.793 UTC [00000007] warning [native] Unable to do initial setup because no server is reachable. Last error: SSL connection timeout&lt;/P&gt;&lt;P&gt;2025-08-21 03:05:19.584 UTC [0000000e] info [comm ] Connected to XXXX...&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 01:26:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/tac-p/284581#M965</guid>
      <dc:creator>mwduarte</dc:creator>
      <dc:date>2025-08-24T01:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent unable to connect when using Istio</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/tac-p/284594#M969</link>
      <description>&lt;P&gt;You can also work around the issue in Istio (1.7+) with the holdApplicationUntilProxyStarts setting.&lt;/P&gt;&lt;P&gt;Global (Mesh Level):&lt;/P&gt;&lt;P&gt;apiVersion: install.istio.io/v1alpha1&lt;BR /&gt;kind: IstioOperator&lt;BR /&gt;spec:&lt;BR /&gt;&amp;nbsp;meshConfig:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;defaultConfig:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;holdApplicationUntilProxyStarts: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By POD:&lt;/P&gt;&lt;P&gt;apiVersion: apps/v1&lt;BR /&gt;kind: Deployment&lt;BR /&gt;metadata:&lt;BR /&gt;&amp;nbsp; name: my-app&lt;BR /&gt;spec:&lt;BR /&gt;&amp;nbsp; template:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;metadata:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;annotations:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'&lt;BR /&gt;&amp;nbsp; spec:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; containers:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - name: my-app-container&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;image: my-app-image&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 23:39:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/OneAgent-unable-to-connect-when-using-Istio/tac-p/284594#M969</guid>
      <dc:creator>mwduarte</dc:creator>
      <dc:date>2025-08-24T23:39:25Z</dc:date>
    </item>
  </channel>
</rss>

