<?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: Unable to start dev server. Stuck at browser reload in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204986#M182</link>
    <description>&lt;P&gt;So the SSO URL we see in the logs is:&amp;nbsp; &lt;A href="https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i goto this URL in my host machine browser, it redirects me into the Dynatrace Apps UI (not localhost as suggested by you). I dont see a redirect to localhost happening. The URL i end up in automatically is: &lt;A href="https://{environmentid}.apps.dynatrace.com/ui" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/ui&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 21:54:03 GMT</pubDate>
    <dc:creator>abcd</dc:creator>
    <dc:date>2023-02-16T21:54:03Z</dc:date>
    <item>
      <title>Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204649#M150</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;
&lt;P&gt;We are running into an issue with starting the development server. The node/npm dependencies etc all install fine, but when running the first app, it seems like it is stuck at "Reloading Browser"&lt;/P&gt;
&lt;P&gt;Important Context: We are running this from a Linux VM (no UI) environment. We plan on simply port forwarding the dev server to our host machine and use the host machine browser to launch. However, the process seems to be stuck at "Reloading Browser". (see screenshot)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any pointers on how I can access the dev server and the apps UI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 423px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/9912i8265BE31355DBAFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 13:55:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204649#M150</guid>
      <dc:creator>abcd</dc:creator>
      <dc:date>2023-05-02T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204652#M151</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;thank you for reaching out to us in the Dynatrace developer forum.&lt;/P&gt;
&lt;P&gt;Can you maybe share first some infos with us regarding your enviroment:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;what kind of node version is installed (output of &lt;FONT face="courier new,courier"&gt;node --version)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;what kind of npm version is installed (output of &lt;FONT face="courier new,courier"&gt;npm --version)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;on which OS is the dev server running (output of&amp;nbsp; cat &lt;FONT face="courier new,courier"&gt;/etc/os-release&lt;/FONT&gt;)&lt;/LI&gt;
&lt;LI&gt;which cli version do you have installed (execute following command in your repository:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;npx dtp-cli version&lt;/FONT&gt; )&lt;/LI&gt;
&lt;LI&gt;what kind of virtualization do you use (WSL, VMware, VirtualBox, etc.)?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With WSL I already did the same, run the server within the VM and forwarded the traffic to the host machine.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Sini&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 08:21:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204652#M151</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-04-19T08:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204661#M152</link>
      <description>&lt;UL&gt;
&lt;LI&gt;node --version =&amp;nbsp;v18.12.1&lt;/LI&gt;
&lt;LI&gt;npm --version = 8.19.2&lt;/LI&gt;
&lt;LI&gt;OS info:&amp;nbsp;
&lt;UL&gt;
&lt;LI&gt;NAME="Ubuntu"&lt;BR /&gt;VERSION="20.04.5 LTS (Focal Fossa)"&lt;BR /&gt;ID=ubuntu&lt;BR /&gt;ID_LIKE=debian&lt;BR /&gt;PRETTY_NAME="Ubuntu 20.04.5 LTS"&lt;BR /&gt;VERSION_ID="20.04"&lt;BR /&gt;HOME_URL="&lt;A href="https://www.ubuntu.com/" target="_blank" rel="noopener"&gt;https://www.ubuntu.com/&lt;/A&gt;"&lt;BR /&gt;SUPPORT_URL="&lt;A href="https://help.ubuntu.com/" target="_blank" rel="noopener"&gt;https://help.ubuntu.com/&lt;/A&gt;"&lt;BR /&gt;BUG_REPORT_URL="&lt;A href="https://bugs.launchpad.net/ubuntu/" target="_blank" rel="noopener"&gt;https://bugs.launchpad.net/ubuntu/&lt;/A&gt;"&lt;BR /&gt;PRIVACY_POLICY_URL="&lt;A href="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" target="_blank" rel="noopener"&gt;https://www.ubuntu.com/legal/terms-and-policies/privacy-policy&lt;/A&gt;"&lt;BR /&gt;VERSION_CODENAME=focal&lt;BR /&gt;UBUNTU_CODENAME=focal&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;dtp-cli version =&amp;nbsp; DTP-CLI: Version: 0.88.0&lt;/LI&gt;
&lt;LI&gt;Virtualization = VirtualBox&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 08:22:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204661#M152</guid>
      <dc:creator>abcd</dc:creator>
      <dc:date>2023-04-19T08:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204665#M154</link>
      <description>&lt;P&gt;also they installed Chromium on the Ubuntu server. That was a suggestion I had made.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 19:39:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204665#M154</guid>
      <dc:creator>michael_taylor</dc:creator>
      <dc:date>2023-02-13T19:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204710#M156</link>
      <description>&lt;P&gt;Thx for the infos. The issue is related to running the dev server in a console-only Linux in VirtualBox. After startup, the dev server would trigger the opening of a web browser and ask you to authenticate.&amp;nbsp;I am checking with the team about what we can do here.&lt;/P&gt;
&lt;P&gt;Can you maybe give us more insights why you want to run the dev server within VirtualBox environment?&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 11:45:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204710#M156</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-02-14T11:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204735#M160</link>
      <description>&lt;P&gt;Mainly because my development takes place in a Linux environment, and since we have Windows workstations, we use Virtual Box. I am fine with authenticating via a browser, so long as the server is able to start up at the backend. Following which, I can port forward the necessary ports and authenticate on my host machine browser...&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 14:10:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204735#M160</guid>
      <dc:creator>abcd</dc:creator>
      <dc:date>2023-02-14T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204940#M175</link>
      <description>&lt;P&gt;When running the Dev Server your environment URL opens up and embeds your localhost app within Dynatrace. For convention and security reasons, we can only allow localhost do be embedded in dev mode. I assume that if you run in a virtual environment using port forwarding, you won't access your VirtualBox via localhost? Try running the dev server with the `--no-open` flag, e.g. `npm start -- --no-open` to detach it from your environment, and open the URL with your forwarded port directly.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 10:52:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204940#M175</guid>
      <dc:creator>stefan_baumgart</dc:creator>
      <dc:date>2023-02-16T10:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204953#M176</link>
      <description>&lt;P&gt;Thanks Stefan we will wait for the response from the customer. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 14:49:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204953#M176</guid>
      <dc:creator>michael_taylor</dc:creator>
      <dc:date>2023-02-16T14:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204963#M177</link>
      <description>&lt;P&gt;The flags do not help, the browser loading is not the issue. The CLI here just waits for SSO authentication to be completed, which never happens. We could reproduce the issue by creating a similar setup. Usually what happens is that the CLI will open a browser window where the SSO authentication will take place, but that does not work when starting the CLI over SSH.&lt;/P&gt;
&lt;P&gt;We will provide a fix for this use case by printing the SSO URL in the terminal, which the user can then copy into their browser. This will complete the SSO authentication.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 17:53:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204963#M177</guid>
      <dc:creator>Wolfi-Stefan</dc:creator>
      <dc:date>2023-02-16T17:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204969#M178</link>
      <description>&lt;P&gt;Can confirm, the flags dont really help here. But i think Wolfi you are correct. Once the SSO URL is provided in the terminal, we can figure out the networking aspect and open the URL on the host machine browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 18:34:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204969#M178</guid>
      <dc:creator>abcd</dc:creator>
      <dc:date>2023-02-16T18:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204973#M179</link>
      <description>&lt;P&gt;It is actually possible already, though it requires some work. You can start the CLI with --no-open and telling it to bind to 0.0.0.0, so you can actually open the app from outside the VM.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;npm start -- --no-open --host 0.0.0.0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;When you then hit the issue that the SSO does not complete, you can open up a second ssh connection, go into your app folder and open up the [app]/.dt-app/logs folder where you'll find the SSO url. Copy this url into the hosts browser, which will again redirect you to localhost. This redirect will work after our fix, but right now you have to copy the new url and do a curl to it inside of the VM, like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl 'http://localhost:5343/auth/login?state=xy&amp;amp;code=cv'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;After all of that, the CLI is authenticated and will start the app!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:30:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204973#M179</guid>
      <dc:creator>Wolfi-Stefan</dc:creator>
      <dc:date>2023-04-19T07:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204986#M182</link>
      <description>&lt;P&gt;So the SSO URL we see in the logs is:&amp;nbsp; &lt;A href="https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i goto this URL in my host machine browser, it redirects me into the Dynatrace Apps UI (not localhost as suggested by you). I dont see a redirect to localhost happening. The URL i end up in automatically is: &lt;A href="https://{environmentid}.apps.dynatrace.com/ui" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/ui&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 21:54:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204986#M182</guid>
      <dc:creator>abcd</dc:creator>
      <dc:date>2023-02-16T21:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start dev server. Stuck at browser reload</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204991#M183</link>
      <description>&lt;P&gt;The url you are looking for should be at the very end of the logs and start like &lt;A href="https://sso.dynatrace.com/oauth2/authorize?client_id=" target="_blank"&gt;https://sso.dynatrace.com/oauth2/authorize?client_id=&lt;/A&gt;....&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 00:38:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Unable-to-start-dev-server-Stuck-at-browser-reload/m-p/204991#M183</guid>
      <dc:creator>Wolfi-Stefan</dc:creator>
      <dc:date>2023-02-17T00:38:13Z</dc:date>
    </item>
  </channel>
</rss>

