10 Jan 2018 07:27 PM - last edited on 22 Nov 2021 11:43 AM by MaciejNeumann
Hi,
We have recently installed OneAgent (Dynatrace Managed deployment) into the production environment of one of the applications here onsite, and have been having trouble with the user sessions.
User sessions are appearing to have short durations with a very short time span occurring between them (As if they are split up).
most of the sessions show user actions hitting the landing page, followed by a number of Error Events. There also doesn't appear to be any other user actions occurring beside the loading of the landing page.
The two errors that stand out the most are (Unable to get property 'hide' of undefined or null reference), and (Object doesn't support property or method 'isSourceActionCreated')
I am not sure if these JS errors are related to the problem involving the user sessions looking like they are split up, but if anyone has experience with this sort of problem, I would love the assistance.
(Note: the PreProd environments for the same application have been onboarded, and do not have the same user session problems.)
Solved! Go to Solution.
11 Jan 2018 09:52 AM
If user sessions are split up, there might be a problem with the cookie domain. Did you explicitly set the domain in advanced settings?
According to the JavaScript exception a AppMon 6.5 JS agent is injected into the page as well. This might cause some conflicts too.
11 Jan 2018 02:00 PM
We did not explicitly set the domain in the advanced settings. The problem appears to be not only that the user sessions are being split up, but that there is only one user action that is showing up (The loading of the (/Agile/PCMServlet).
11 Jan 2018 02:22 PM
The JS Error detail view you are showing is the AppMon 6.5 JS agent. Clemens mentioned this already. So please remove first the AppMon JS agent - Dynatrace and AppMon real user monitoring can't be used together in one application.
11 Jan 2018 02:32 PM
Just talked to my team here, and they supposedly removed the AppMon agents from the application when they installed the Dynatrace Agent. We are talking to the app team to verify this now.