I have a simple 1 step test that does a login. For whatever reason, this particular test uses TLS1.0 when it creates a connection to our site. I know that the Synthetic node is updated and able to use TLS1.2, because it uses it for many other tests. I also know that our webserver is setup to use 1.2, when you hit it with a normal browser it uses TLS1.2 by default.
Does anyone know why Synthetic would not automatically use 1.2, or a way to force it to?
Answer by Vaughn P. ·
support case submitted to dynatrace but adding comments into this post:
The reason the test is using the TLS 1.0 as the MN PA currently has FF24 browser agent which only support TLS 1.0 so if you have site with TLS 1.1 or 1.2 support it will downgrade to next supported TLS version. See below TLS support based on browser versions.
https://en.wikipedia.org/wiki/Template:TLS/SSL_support_history_of_web_browsers
I would recommend upgrading the MN PA to the latest IE11, FF38 and CH46 browser agents that support TLS 1.1 and 1.2. The upgrade downtime is typically 3-4 hours so please advise best time. We prefer early business hours as after 5PM can be a challenge.
Answer by Bill H. ·
Hi Jeff!
The reason why only that test is having an issue is that it may be running from a different browser agent than the others. If this test is running from an FF Agent, add the following in the first step using control target window to correct this issue:
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
prefs.setIntPref("security.tls.version.min", 3);
prefs.setIntPref("security.tls.version.max", 3);
Please let us know if this resolves your issue. If not, the next step would be to create a support ticket to investigate further with the test name. Thanks for your inquiry!
What do you mean when you say "add to the first step?" should I enter these into the parameters section? or is it like an HTTP step?
So I figured it out, and added this as a 'custom' step and entered your Javascript (and it is indeed a Firefox script). Unfortunately when I run the test I'm seeing the following error: Javascript Error Details: Step 1, action 2: TypeError: Components.classes is undefined
Jeff,
I'm sorry that you were unable to find resolution to the issue. If you haven't already done so, please open a ticket and we will be happy to further investigate the problem. Thanks.
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here