<?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: VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268417#M1281</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47351"&gt;@christian_k&lt;/a&gt;, I think you linked the wrong Stefan.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 07:06:40 GMT</pubDate>
    <dc:creator>StefanW</dc:creator>
    <dc:date>2025-01-27T07:06:40Z</dc:date>
    <item>
      <title>VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/267829#M1267</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am experiencing authentication/connection issue working in VS Code using the Dynatrace extensions.&lt;BR /&gt;I will split these issues in two sections:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;[Dynatrace Apps] &amp;amp; [Dynatrace Debug] extensions&lt;/LI&gt;&lt;LI&gt;[Dynatrace Extensions] extension&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT size="5"&gt;1. [Dynatrace Apps] &amp;amp; [Dynatrace Debug] extensions :: Issues&lt;/FONT&gt;&lt;BR /&gt;- Workstation with &lt;STRONG&gt;Windows 11&lt;/STRONG&gt;&lt;BR /&gt;- installed successfully the extension &lt;STRONG&gt;[Dynatrace Apps] v 0.27.0&lt;/STRONG&gt;&lt;BR /&gt;- I am using &lt;STRONG&gt;nodejs v20.12.2&lt;/STRONG&gt;&lt;BR /&gt;- attempted to create a Dynatrace custom app&lt;BR /&gt;&lt;STRONG&gt;npx dt-app create --environment-url &amp;lt;apps dynatrace url&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;after entering the app name I am getting the exception message:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;✖ Searching for template repositories...&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error: App Toolkit is not able to fetch the app templates from GitHub.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;To be able to create an app, App Toolkit needs to have access to read the app templates from &lt;A href="https://github.com/Dynatrace/dt-app-templates" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dt-app-templates&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;- downloaded the templates from [main] branch, &lt;A href="https://github.com/Dynatrace/dt-app-templates" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dt-app-templates&lt;/A&gt;, and used the settings from &lt;STRONG&gt;&lt;EM&gt;Templates\Default&lt;/EM&gt;&lt;/STRONG&gt; folder&lt;BR /&gt;- executed the &lt;STRONG&gt;npm install&lt;/STRONG&gt; command, to install the dependencies&lt;BR /&gt;- launched the app server by using&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;npx dt-app dev&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I got this message:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;✖ Authenticating...&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error: SSO-URL for '&amp;lt;apps dynatrace url&amp;gt;' could not be processed.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;self-signed certificate in certificate chain&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;If you need further assistance visit the connectivity troubleshooting guide here: &lt;A href="https://dt-url.net/c4jp0s12" target="_blank" rel="noopener"&gt;https://dt-url.net/c4jp0s12&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;- Set the environment variable:&amp;nbsp;&lt;STRONG&gt;$ENV:NODE_TLS_REJECT_UNAUTHORIZED="0"&lt;BR /&gt;&lt;/STRONG&gt;- launched locally the application&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;npx dt-app dev&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and the app server finally started on local, but with the following warning and message:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;EM&gt;(node:34416) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;&lt;EM&gt;(Use `node --trace-warnings ...` to show where the warning was created)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;EM&gt;DT-APP: Started local development server&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DT-APP: Authenticate with Dynatrace SSO&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The dependencies package update fails, too:&lt;BR /&gt;&lt;STRONG&gt;npx dt-app update&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_0-1737165305879.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25816i4728A5E34E290DFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_0-1737165305879.png" alt="chris_cho_0-1737165305879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in VS Code status bar I see &lt;EM&gt;&lt;STRONG&gt;[Dynatrace] Not Authenticated&lt;/STRONG&gt;&lt;/EM&gt;.&lt;BR /&gt;Clicking on it, a dialog box is opened asking to authenticate to SSO&lt;BR /&gt;Clicking on [Allow] button, it doesn't do anything, no exceptions, no messages, no logs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_0-1737162352619.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25812iFE993CB231E43981/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_0-1737162352619.png" alt="chris_cho_0-1737162352619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By using the extension [Dynatrace Debugger] I am experiencing similar authentication SSO issues.&lt;BR /&gt;Trying to login through SSO, in the web browser, I am getting back the message&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Couldn't log you in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_1-1737162372064.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25813i3501EEAB8FEE7F64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_1-1737162372064.png" alt="chris_cho_1-1737162372064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Even trying to create and use .dql files I am asked to authenticate using SSO. Same it doesn't work.&lt;BR /&gt;I would like to know what the source of all these issues would be, creating and starting a simple app, which is advertised as being done in 5 minutes. Personally, it took days.&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;2. [Dynatrace Extensions] extension :: Issues&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;- installed the VS Code extension &lt;STRONG&gt;[Dynatrace Extensions] 2.6.5&lt;/STRONG&gt;&lt;BR /&gt;- initially, I was able to configure the environment and initialed the workspace, generating the required certifications.&lt;BR /&gt;- I was able to see the defined Dynatrace extensions&lt;/P&gt;&lt;P&gt;I got a new workstation, and wanted to configure the VS Code extension [Dynatrace Extensions]&lt;BR /&gt;Started adding an environment providing the URL &amp;lt;apps dynatrace url&amp;gt;.&lt;BR /&gt;After pressing the [Enter] key, I got the messages.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;unable to get local issuer certificate&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;The environment URL entered is not reachable.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_2-1737159761521.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25815i0C43016172235133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_2-1737159761521.png" alt="chris_cho_2-1737159761521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On the other hand, checking again on the old workstation, I noticed that I cannot use the existing extensions Dynatrace Extensions, getting the notification.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;No response from server &amp;lt;apps dynatrace url&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_3-1737157414045.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25806iAD51137EBAA02F13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_3-1737157414045.png" alt="chris_cho_3-1737157414045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyway, in the end out of the blue, I got the new workstation working with [Dynatrace Extensions].&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_5-1737158226807.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25808iE8FEF66F007F01DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_5-1737158226807.png" alt="chris_cho_5-1737158226807.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently, both application and [Dynatrace Extensions] are working on my new workstation.&lt;BR /&gt;Please let me know, if there are any aspects, I have missed setting up my Dynatrace development environment.&lt;BR /&gt;Sorry if this message got quite large. I wanted to provide all the details in one message, instead of splitting it through more messages.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 04:34:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/267829#M1267</guid>
      <dc:creator>chris_cho</dc:creator>
      <dc:date>2025-01-18T04:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268409#M1280</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/75507"&gt;@StefanW&lt;/a&gt;&amp;nbsp;can you please have a look at this topic and see if you have an idea what causes the error with our VS Code Extension?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2025 21:02:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268409#M1280</guid>
      <dc:creator>christian_k</dc:creator>
      <dc:date>2025-01-26T21:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268417#M1281</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47351"&gt;@christian_k&lt;/a&gt;, I think you linked the wrong Stefan.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 07:06:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268417#M1281</guid>
      <dc:creator>StefanW</dc:creator>
      <dc:date>2025-01-27T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268418#M1282</link>
      <description>&lt;P&gt;I'm sorry, and you're right. That's the downside of our cryptic user names here&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 07:18:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268418#M1282</guid>
      <dc:creator>christian_k</dc:creator>
      <dc:date>2025-01-27T07:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268423#M1283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/84142"&gt;@chris_cho&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;Did you run through the &lt;A href="https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/" target="_self"&gt;connectivity troubleshooting&lt;/A&gt;? Please, check the guide first for error messages you get when running the troubleshooting guide. Can you post the error messages here please?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 07:34:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/VS-Code-Issues-with-all-3-Dynatrace-extensions-SSO/m-p/268423#M1283</guid>
      <dc:creator>s_wasserbauer</dc:creator>
      <dc:date>2025-01-27T07:34:16Z</dc:date>
    </item>
  </channel>
</rss>

