<?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: SSO Error When Using run Start in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/244335#M886</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74990"&gt;@DD_Developer&lt;/a&gt;, the command for configuring proxies in Windows is a bit different. This should work:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;set HTTP_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port
set HTTPS_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Let us know if we can help in any other way.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 07:54:21 GMT</pubDate>
    <dc:creator>educampver</dc:creator>
    <dc:date>2024-04-30T07:54:21Z</dc:date>
    <item>
      <title>SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/243910#M865</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently able to create an app using the following versions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Node JS Windows : V20.11.0&lt;/P&gt;
&lt;P&gt;&lt;A href="mailto:dt-app@0.115.5" target="_blank" rel="noopener"&gt;dt-app@0.115.5&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Microsoft Windows [Version 10.0.19045.4291]
(c) Microsoft Corporation. All rights reserved.

C:\Users\XXXXXX&amp;gt;node --version
v20.11.0

C:\Users\XXXXXX&amp;gt;npx dt-app@0.115.5 create

Hello there! Welcome to the Dynatrace App Toolkit.
You can build, develop, and deploy your apps all from here.
Now we'll just need a few details to get you going!

? Enter the name for your app
C:\Users\XXXXXX&amp;gt;cd documents

C:\Users\XXXXXX\Documents&amp;gt;npx dt-app@0.115.5 create

Hello there! Welcome to the Dynatrace App Toolkit.
You can build, develop, and deploy your apps all from here.
Now we'll just need a few details to get you going!

? Enter the name for your app DynApp
? Enter your environment url https://{environmentid}.apps.dynatrace.com
√ Successfully installed all dependencies
Git not found, skipping repository creation

--------------------------------------------------------------------------------
Your setup is complete, you can start hacking! &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the app is created, When I try to run the dev server using npm run start, I am encountering the following issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am connected to my office network using VPN and trying to run the following command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;C:\Users\XXXXXX\Documents&amp;gt;cd dyn-app

C:\Users\XXXXXX\Documents\dyn-app&amp;gt;npm run start

&amp;gt; dyn-app@0.0.0 start
&amp;gt; dt-app dev

 DT-APP:  Started local development server
Error: Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
Http(s) request failed: read ECONNRESET
Terminate batch job (Y/N)? y

C:\Users\XXXXXX\Documents\dyn-app&amp;gt;code .

C:\Users\XXXXXX\Documents\dyn-app&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Error: Could not resolve the SSO-URL for '&lt;A href="https://{environmentid}.apps.dynatrace.com" target="_blank" rel="noopener"&gt;https://{environmentid}.apps.dynatrace.com&lt;/A&gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Http(s) request failed: read ECONNRESET&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;When I look at the following path for log file,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;C:\Users\XXXXXXXX\Documents\dyn-app\.dt-app\logs&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see the following :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2024-04-24T17:40:56.144Z DEBUG [TELEMETRY] Reading package.json
2024-04-24T17:40:56.160Z DEBUG [TELEMETRY] Initializing OpenKit
2024-04-24T17:40:59.552Z DEBUG [TELEMETRY] Creating a new HTTP and HTTPS://{environmentid}.apps.dynatrace.com'
2024-04-24T17:41:07.541Z DEBUG [HTTP(S)] Execute GET request without allowing redirection to 'https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso'
2024-04-24T17:41:07.542Z DEBUG [TELEMETRY] Tracing request https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso
2024-04-24T17:41:07.748Z DEBUG [AUTH] Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
2024-04-24T17:41:07.748Z DEBUG [AUTH] Error: Http(s) request failed: read ECONNRESET
2024-04-24T17:41:07.750Z ERROR Error: Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
Http(s) request failed: read ECONNRESET
2024-04-24T17:41:07.750Z DEBUG [TELEMETRY] Reporting crash
2024-04-24T17:41:07.750Z DEBUG [TELEMETRY] Closing OpenKit connection&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please let me know what am i missing?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If Any proxy settings are required, Please let me know where do I need to execute.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;UPDATE :&lt;/STRONG&gt; The app ran successfully when VPN was disabled. Can you please let me know where can i find instructions for setting up Proxy in case of VPN.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 09:16:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/243910#M865</guid>
      <dc:creator>DD_Developer</dc:creator>
      <dc:date>2024-04-25T09:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/243947#M866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74990"&gt;@DD_Developer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you looked at the&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/#connectivity-issues" target="_blank"&gt;proxy server&lt;/A&gt;&amp;nbsp;section of our&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/#connectivity-issues" target="_self"&gt;connectivity issues troubleshooting guide&lt;/A&gt;? You need a&amp;nbsp;&lt;SPAN&gt;proxy server (for HTTP and HTTPS connections) configured on your machine, as well as set it up according to your company settings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 09:31:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/243947#M866</guid>
      <dc:creator>SarahFaustmann</dc:creator>
      <dc:date>2024-04-25T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/243971#M867</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67610"&gt;@SarahFaustmann&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the documentation about proxy settings. I did notice that we have a proxy server by using the following command&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;echo %http_proxy%&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I configure this at the machine level? Do I need to execute the following commands ?&lt;/P&gt;&lt;PRE&gt;export HTTP_PROXY=&amp;lt;your proxy&amp;gt;
export HTTPS_PROXY=&amp;lt;your proxy&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 14:27:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/243971#M867</guid>
      <dc:creator>DD_Developer</dc:creator>
      <dc:date>2024-04-25T14:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/244335#M886</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74990"&gt;@DD_Developer&lt;/a&gt;, the command for configuring proxies in Windows is a bit different. This should work:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;set HTTP_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port
set HTTPS_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Let us know if we can help in any other way.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 07:54:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/244335#M886</guid>
      <dc:creator>educampver</dc:creator>
      <dc:date>2024-04-30T07:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/245707#M921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74990"&gt;@DD_Developer&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47555"&gt;@educampver&lt;/a&gt;'s comment help you? If so, would you be so kind as to accept this as solved? Thank you!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 11:14:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/245707#M921</guid>
      <dc:creator>SarahFaustmann</dc:creator>
      <dc:date>2024-05-15T11:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/280199#M1462</link>
      <description>&lt;P&gt;Hi educampver,&lt;/P&gt;&lt;P&gt;Thank you for the good videos about AppFunctions, they were informative and encourged me to use AppFunction in my projects, I seems to be having the same constant issue, I was able to deploy before but it did stop working and I am now stuck not sure what happens - is not working for me anymore (see SSO error below)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Users\U\DEV\Dynatrace\cm-api&amp;gt; npx dt-app dev&lt;BR /&gt;════════&lt;/P&gt;&lt;P&gt;Starting development server...&lt;/P&gt;&lt;P&gt;Port 3000 is already in use. Using port 3001 instead.&lt;/P&gt;&lt;P&gt;Warning ──────────────────────────────────────────────────────────────────────────────────&lt;/P&gt;&lt;P&gt;Failed to retrieve user details. App functions will use placeholder data.&lt;/P&gt;&lt;P&gt;──────────────────────────────────────────────────────────────────────────────────────────&lt;/P&gt;&lt;P&gt;Error: SSO-URL for 'https://{environmentid}.apps.dynatrace.com' could not be processed.&lt;BR /&gt;fetch failed&lt;BR /&gt;If you need further assistance visit the connectivity troubleshooting guide here: dt-url.net/c4jp0s12" target="_blank"&amp;gt;&lt;A href="https://dt-url.net/c4jp0s12" target="_blank"&gt;https://dt-url.net/c4jp0s12&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the deploy part I get a couple message that my extension is not authorised - so I accept the notfifications twice but this does not help and the above error always occurs&lt;/P&gt;&lt;P&gt;Also in my Visual Code, I see a brown that DT is not Authirised how can this be resolved&lt;/P&gt;&lt;P&gt;I appreciate any feedback to resolve my deployment issues&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 21:25:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/280199#M1462</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2025-06-25T21:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Error When Using run Start</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/280200#M1463</link>
      <description>&lt;P&gt;I seem to have a work around and it only works if I do it outside visual studio, not sure what needs to be done to start the development server or the deploy inside Visual Studio, if anyone knows, I will be interested.&lt;/P&gt;&lt;P&gt;But here is my contribution to the community for now; I can deploy to my instance:&lt;/P&gt;&lt;P&gt;set NODE_TLS_REJECT_UNAUTHORIZED=0&lt;/P&gt;&lt;P&gt;C:\Users\U\DEV\Dynatrace\cm-api&amp;gt;npx dt-app dev&lt;BR /&gt;════════&lt;/P&gt;&lt;P&gt;Starting development server...&lt;/P&gt;&lt;P&gt;(node:20176) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.&lt;BR /&gt;(Use `node --trace-warnings ...` to show where the warning was created)&lt;BR /&gt;Authenticated as MY_USER&lt;/P&gt;&lt;P&gt;C:\Users\1026014&amp;gt;set NODE_TLS_REJECT_UNAUTHORIZED=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\U\DEV\Dynatrace&amp;gt;cd cm-api&lt;/P&gt;&lt;P&gt;C:\Users\U\DEV\Dynatrace\cm-api&amp;gt;npx dt-app deploy&lt;BR /&gt;════════&lt;/P&gt;&lt;P&gt;Deploying app...&lt;/P&gt;&lt;P&gt;(node:21984) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.&lt;BR /&gt;(Use `node --trace-warnings ...` to show where the warning was created)&lt;BR /&gt;√ Creating bundles...&lt;BR /&gt;√ Built the app&lt;BR /&gt;√ Compressed app artifact&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;BR /&gt;√ App is deployed&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;════════&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 21:31:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/SSO-Error-When-Using-run-Start/m-p/280200#M1463</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2025-06-25T21:31:15Z</dc:date>
    </item>
  </channel>
</rss>

