cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Browser Agent on IE 11 and FF 35 fails to connect to localhost collector

c_jagdeep
Newcomer

@ Andreas G

I am using AppMon 7.0 trial version.

Local Java agents and Webserver agents are connecting correctly to localhost collector on port 9998. java-and-ws.jpg

Browser agent (Version 6.3.0.1305) is installed on IE 11.0.9600 and FF 35.0.

Telnet to localhost 9998 works fine.

Browser agent group is set correctly to 'Browser' - browser.jpg

Below is the log from IE 11 Browser Agent - C:\Users\xxx\AppData\LocalLow\dynaTrace\browser\dtieagent_6552.0

2017-06-23 11:38:04 [00000448] info    [] Hooking jscript9.dll
2017-06-23 11:38:07 [00000448] info [] IE9 JavaScript debugging mode: ..... yes
2017-06-23 11:39:09 [00000448] info [] ---------------------------------------------------------------------------------------
2017-06-23 11:39:09 [00000448] info [] Copyright (C) 2004-2015 Dynatrace
2017-06-23 11:39:09 [00000448] info [] ---------------------------------------------------------------------------------------
2017-06-23 11:39:09 [00000448] info [] Version 6.3.0.1305, build date Feb 22 2016
2017-06-23 11:39:09 [00000448] info [] Platform: Windows Vista or later Service Pack 1 6.1.7601 x86
2017-06-23 11:39:09 [00000448] info [] Browser: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
2017-06-23 11:39:09 [00000448] info [] Agent preferences
2017-06-23 11:39:09 [00000448] info [] Host ................. localhost
2017-06-23 11:39:09 [00000448] info [] Port ................. 9998
2017-06-23 11:39:09 [00000448] info [] AgentName............. Browser
2017-06-23 11:39:09 [00000448] info [] AutoConnect........... false
2017-06-23 11:39:09 [00000448] info [] Loading collector peer list from c:/program files/dynatrace/dynatrace 6.3/agent/conf/collectorlist.Browser
2017-06-23 11:39:09 [00000448] info [] Intel CPU 0x06 0x3d detected.
2017-06-23 11:39:09 [00000448] info [] ProcNum=0 MaxMhz=2601 CurrentMhz=1976 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:39:09 [00000448] info [] ProcNum=1 MaxMhz=2601 CurrentMhz=1976 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:39:09 [00000448] info [] ProcNum=2 MaxMhz=2601 CurrentMhz=1976 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:39:09 [00000448] info [] ProcNum=3 MaxMhz=2601 CurrentMhz=1976 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:39:10 [00000448] info [] High-resolution hardware timer detected.
2017-06-23 11:39:10 [00000448] warning [] Error connecting to server: passwords do not match
2017-06-23 11:39:10 [00000448] info [] Could not connect to localhost:9998

Below is the log from FF 35 Browser Agent - C:\Users\xxx\AppData\LocalLow\dynaTrace\browser\dtffagent_10776.0

2017-06-23 11:41:15 [00000974] info    [] ---------------------------------------------------------------------------------------
2017-06-23 11:41:15 [00000974] info [] Copyright (C) 2004-2015 Dynatrace
2017-06-23 11:41:15 [00000974] info [] ---------------------------------------------------------------------------------------
2017-06-23 11:41:15 [00000974] info [] Version 6.3.0.1305, build date Feb 22 2016
2017-06-23 11:41:15 [00000974] info [] Platform: Windows Vista or later Service Pack 1 6.1.7601 x86
2017-06-23 11:41:15 [00000974] info [] Browser: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
2017-06-23 11:41:15 [00000974] info [] Agent preferences
2017-06-23 11:41:15 [00000974] info [] Host ................. localhost
2017-06-23 11:41:15 [00000974] info [] Port ................. 9998
2017-06-23 11:41:15 [00000974] info [] AgentName............. Browser
2017-06-23 11:41:15 [00000974] info [] AutoConnect........... false
2017-06-23 11:41:15 [00000974] info [] Loading collector peer list from c:/program files/dynatrace/dynatrace 6.3/agent/lib/dtffagent@dynatrace.com/conf/collectorlist.Browser
2017-06-23 11:41:15 [00000974] info [] Intel CPU 0x06 0x3d detected.
2017-06-23 11:41:15 [00000974] info [] ProcNum=0 MaxMhz=2601 CurrentMhz=1092 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:41:15 [00000974] info [] ProcNum=1 MaxMhz=2601 CurrentMhz=1092 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:41:15 [00000974] info [] ProcNum=2 MaxMhz=2601 CurrentMhz=1092 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:41:15 [00000974] info [] ProcNum=3 MaxMhz=2601 CurrentMhz=1092 MhzLimit=2601 MaxIdleState=3 CurrentIdleState=3 hasInvariantTSC=true
2017-06-23 11:41:15 [00000974] info [] High-resolution hardware timer detected.
2017-06-23 11:41:15 [00000974] warning [] Error connecting to server: passwords do not match
2017-06-23 11:41:15 [00000974] info [] Could not connect to localhost:9998
11 REPLIES 11

rick_boyd
Mentor

Hi Jagdeep,

The browser agent is no longer supported, you'll have to use the UEM (User Experience Management) feature of your trial in order to get browser insights

andreas_grabner
Dynatrace Leader
Dynatrace Leader

To add to what Rick said. Check out the YouTube tutorial on how to use Dynatrace UEM for Web Performance Optimization: https://www.youtube.com/watch?v=TYzxDq42wxc&list=P...

And also check out how to integrate UEM with Test Automation into your CI Pipeline: https://www.youtube.com/watch?v=-OSSKwD4WKQ&list=P...

Andi

c_jagdeep
Newcomer

Hi Rick

I am unable to set up UEM correctly. dtagent.xxx.js is not getting injected to the browsers. We are not using webserver and I was wondering if Java agent can still inject javascript to Browser?

Thanks

Jagdeep

@Rick B

Hello Jagdeep,

Java agent is capable to inject the JavaScript into browsers with the automatic and manual ways.

May we know what kind of problem you are facing?

You can check the following link in case something missed:

https://www.dynatrace.com/support/doc/appmon/user-experience-management/how-to-instrument-a-web-application/

Regards,

Babar

c_jagdeep
Newcomer

Hi Babar

Thanks for the quick reply. System Profile shows no issues, see below screenshot. Java purepaths are showing up correctly but browser is not making any calls to dtagent.js or dynaTraceMonitor. Visits and user actions are also not showing up in the dashboards. Please let me know if you want me share any specific info.

Thanks

Jagdeep

Hello Jagdeep,

What is the path of 'Agent Location' and 'Monitor Request Path' in the same screenshot you shared with me?

Agent location path used when injecting the JavaScript Agent into your HTML code.

For instance, if you enter /myapp/ in Agent location and leave the default JavaScript Agent Name (dtagent) in the Global Settings horizontal tab, then the code injected into your HTML code will look something like this:
<script type="text/javascript" src="/myapp/dtagent620_b_1239.js"></script>
You can use this option to ensure that the client requests the JavaScript Agent from a URI where it reaches an instrumented server.

Monitor request path / URI that the JavaScript Agent uses to report gathered performance data back to AppMon via XMLHTTPRequests.

Also follow the instructions from the below link for the basic checks of UEM Health Check and share the results with us.

https://www.dynatrace.com/support/doc/appmon/user-experience-management/user-experience-management-administration/uem-health-check/

Regards,

Babar

c_jagdeep
Newcomer

I have kept the path as default (\) for both, please see the screenshot.

I checked the UEM Health Check and got 'Injection Check' error, please see the screenshot.

Hello Jagdeep,

As per the screenshot injection check was failed and you can get more information to click on the 'Details'.

It means the route '/' path is protected (which is common in most of the environment) so you can ask application owners for the folder/location where all the documents/resources available e.g. /myapp/ , so you can use that one in the Agent location and also in the Monitor request path.

Once configured the new settings then again try the UEM Health Check and share the results.

Regards,

Babar

c_jagdeep
Newcomer

Hi Babar

I checked with my application team, it seems we don't allow any folder/location where all resources are available. Do you recommend any alternate approach?

Thanks

Jagdeep

Hello Jagdeep,

Did they share any concern with you that why they are not willing to provide the path to instrument the JavaScript?

Regards,

Babar

andreas_grabner
Dynatrace Leader
Dynatrace Leader

If you want your Java Agent to do the injection make sure that you have the User Experience Sensor Pack Placed and enabled on that Agent Group.