<?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 Stack trace not appearing in a front-end application in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/204904#M4147</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;We are missing a stack trace at Dynatrace from our front-end application. We can't see it on the error details (see the image).&lt;/P&gt;
&lt;P&gt;Our current structure looks like this:&lt;/P&gt;
&lt;P&gt;- App Service (not right, but it is our current service style)&lt;BR /&gt;- SPA (Vue) besides other index.HTML files from Static Server Generation (SSG)&lt;BR /&gt;- O index.html consumes js files from a CDN (which has another subdomain. So, index.html in domain.com gets JS files from cdn.domain.com)&lt;/P&gt;
&lt;P&gt;- OneAgent injection&lt;/P&gt;
&lt;P&gt;- Our frontend has the source map configuration&lt;/P&gt;
&lt;P&gt;Any ideas on how to solve it?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 09:50:01 GMT</pubDate>
    <dc:creator>tasjordao</dc:creator>
    <dc:date>2023-02-16T09:50:01Z</dc:date>
    <item>
      <title>Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/204904#M4147</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;We are missing a stack trace at Dynatrace from our front-end application. We can't see it on the error details (see the image).&lt;/P&gt;
&lt;P&gt;Our current structure looks like this:&lt;/P&gt;
&lt;P&gt;- App Service (not right, but it is our current service style)&lt;BR /&gt;- SPA (Vue) besides other index.HTML files from Static Server Generation (SSG)&lt;BR /&gt;- O index.html consumes js files from a CDN (which has another subdomain. So, index.html in domain.com gets JS files from cdn.domain.com)&lt;/P&gt;
&lt;P&gt;- OneAgent injection&lt;/P&gt;
&lt;P&gt;- Our frontend has the source map configuration&lt;/P&gt;
&lt;P&gt;Any ideas on how to solve it?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 09:50:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/204904#M4147</guid>
      <dc:creator>tasjordao</dc:creator>
      <dc:date>2023-02-16T09:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/209768#M4264</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/59702"&gt;@tasjordao&lt;/a&gt;&amp;nbsp;are you still having this issue? If you resolved it would you mind sharing with us your findings and resolution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 12:53:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/209768#M4264</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-04-13T12:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243313#M5911</link>
      <description>&lt;P&gt;I would be interested as well on what the solution was if one was found&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 12:29:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243313#M5911</guid>
      <dc:creator>asp-vm</dc:creator>
      <dc:date>2024-04-19T12:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243321#M5912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/14877"&gt;@ChadTurner&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/72736"&gt;@asp-vm&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;While waiting for an answer from the author, I know that in my case I had to add the x-dtc header so that the user actions correlated well with my traces.&lt;/P&gt;&lt;P&gt;In certain cases, if you use agentless and if you activate cross-origin, it may be necessary to pass the x-dtc header into CORS in order to be able to link user actions (or errors) to backend traces.&lt;/P&gt;&lt;P&gt;documentation link :&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/web-applications/initial-setup/link-cross-origin-xhrs" target="_blank" rel="noopener noreferrer"&gt;https://docs.dynatrace.com/docs/platform-modules/digital-experience/web-applications/initial-setup/l...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 13:46:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243321#M5912</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-04-19T13:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243676#M5931</link>
      <description>&lt;P&gt;I don't see how the x-dtc header would affect the stacktrace of an error, as they have nothing to do with each other.&lt;/P&gt;&lt;P&gt;In general, my best guess is, that this is not really a javascript error and therefore there is no stacktrace.&lt;/P&gt;&lt;P&gt;An example for this, which we regularly see, is something along the line of "unexpected token &amp;lt;". This happens when you include a file in the page using &amp;lt;script&amp;gt; tags, but the file is not really a javascript file (or what also regularly happens, the file does not exist and returns a 404 html page or some similar error page with html instead of javascript code)&lt;BR /&gt;You'd have to provide more information on the error to get more help.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 10:12:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243676#M5931</guid>
      <dc:creator>simon_schatka</dc:creator>
      <dc:date>2024-04-23T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243835#M5934</link>
      <description>&lt;P&gt;Since you now contacted us via Chat as well, I have more information and can reveal the full solution to this issue.&lt;/P&gt;&lt;P&gt;The javascript error is showing up as "Script error".&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that the browser is restricting the information, because the script file in question needs to have&amp;nbsp;&lt;STRONG&gt;crossorigin="anonymous"&amp;nbsp;&lt;/STRONG&gt;on the script tag, so the browser will expose more information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Important:&lt;/STRONG&gt; If this attribute is set, the script file MUST have the "Access-Control-Allow-Origin:" header set to allow the source domain (by default it is "*"), otherwise the script file is not executed at all!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 14:57:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243835#M5934</guid>
      <dc:creator>simon_schatka</dc:creator>
      <dc:date>2024-04-24T14:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace not appearing in a front-end application</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243934#M5935</link>
      <description>&lt;P&gt;Thank you. I will feedback all the recommendations on this thread to the developers.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 08:02:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Stack-trace-not-appearing-in-a-front-end-application/m-p/243934#M5935</guid>
      <dc:creator>asp-vm</dc:creator>
      <dc:date>2024-04-25T08:02:55Z</dc:date>
    </item>
  </channel>
</rss>

