Resolve Synthetic Browser Monitor Error Codes in Dynatrace

Summary

This article provides the most common error codes seen in Dynatrace Synthetic browser monitors, along with note on the behavior and some troubleshooting suggestions.

For any HTTP Response code errors, follow the troubleshooting steps here.

For connection issues, check Firewall Constraints and allowlisting for Synthetic Monitoring

Error Codes

ErrorDetailTest failsError categoryNotes
400Bad RequestYesHTTP response codeAll errors are reported in the same tab
401UnauthorizedYesHTTP response codegets reported in a same tab since APM-108556
402Payment RequiredYesHTTP response code 
403ForbiddenYesHTTP response code 
404Not FoundYesHTTP response code 
405Method Not AllowedYesHTTP response code 
406Not AcceptableYesHTTP response code 
407Proxy Authentication RequiredYesHTTP response code 
408Request TimeoutYesHTTP response code 
409ConflictYesHTTP response code 
410GoneYesHTTP response code 
411Length RequiredYesHTTP response code 
412Precondition RequiredYesHTTP response code 
413Request Entry Too LargeYesHTTP response code 
414Request-URI Too LongYesHTTP response code 
415Unsupported Media TypeYesHTTP response code 
416Requested Range Not SatisfiableYesHTTP response code 
417Expectation FailedYesHTTP response code 
418I am a TeapotYesHTTP response code 
419Authentication TimeoutYesHTTP response code 
420Method failureYesHTTP response code 
421Misdirected RequestYesHTTP response code 
422Unprocessable EntityYesHTTP response code 
423LockedYesHTTP response code 
424Failed DependencyYesHTTP response code 
425Unordered CollectionYesHTTP response code 
426Upgrade RequiredYesHTTP response code 
428Precondition RequiredYesHTTP response code 
429Too many requestsYesHTTP response code 
431Request Header fields too largeYesHTTP response code 
440Login TimeoutYesHTTP response code 
444No ResponseYesHTTP response code 
449Retry withYesHTTP response code 
450Blocked by Windows Parental ControlsYesHTTP response code 
451Unavailable for Legal ReasonsYesHTTP response code 
456Unspecified ErrorYesHTTP response code 
457Unspecified ErrorYesHTTP response code 
494Request Header too largeYesHTTP response code 
495Cert ErrorYesHTTP response code 
496No CertYesHTTP response code 
497Http to HttpsYesHTTP response code 
498Token Expired InvalidYesHTTP response code 
499Client Closed RequestYesHTTP response code 
500Internal Server ErrorYesHTTP response code 
501Not ImplementedYesHTTP response code 
502Bad GatewayYesHTTP response code 
503Service UnavailableYesHTTP response code 
504Gateway TimeoutYesHTTP response code 
505HTTP Version Not SupportedYesHTTP response code 
506Variant also NegotiatesYesHTTP response code 
507Insufficient StorageYesHTTP response code 
508Loop detectedYesHTTP response code 
509Bandwidth limit exceededYesHTTP response code 
510Not extendedYesHTTP response code 
511Network authentication requiredYesHTTP response code 
520Webserver is returning an unknown errorYesHTTP response code 
521Web Server is downYesHTTP response code 
522Connection timed outYesHTTP response code 
524A timeout occurredYesHTTP response code 
598Network read timeout errorYesHTTP response code 
599Network connect timeout errorYesHTTP response code 
1001unsupported script versionYesScript errorfrom recorder and in responsecode.js → moved to errorlist Triggered when the script has no version or the version is neither 1.0 nor 2.0
1002script syntax errorYesScript errorfrom recorder and in responsecode.js → moved to errorlist It's triggered when parsing the gslScript fails
1010File downloads are currently not supportedYesScript errorThe script has clicked on something that is trying to download a file. This is not allowed in Browser Monitors 
1301Hard / Transaction TimeoutYesTransaction TimeoutTransaction deadline of 5 min exceeded. Can be set via test configuration but not via the UI (transactionTimeout)
1302Step TimeoutYesStep TimeoutStep deadline of 60s exceeded. Can be set via test configuration but not via the UI (stepTimeout)
1304Wait for Page Complete Timeout / Time exceeded waiting for page to load completelyYesStep TimeoutError code is thrown if the step deadline is exceeded while waiting for this
1305Wait Network Timeout / Time exceeded waiting for background network activity to completeYesStep TimeoutError code is thrown if the step deadline is exceeded while waiting for this
1306Wait for validate TimeoutYesUser Script FailureError code is thrown if the step deadline is exceeded while waiting for this
1307Wait timeout was too short for the page to loadYesStep TimeoutError code is thrown when user defined wait timeout was too short for the page to load. This should be fixed within the test. (Increasing the wait timeout or change it to another wait condition; ea. "Wait for page to load completely")
1401Validate Text Match Failed / One or more validations created for this action have failedYesContent match failednot generic error message any more, not used as it is but rather a detailed message of which element validation is failed
1501Clickpath action failureYesUser Script FailureThis is also the default error in case we can't find the corresponding error type for an error. Usually, it means there's a bug somewhere in our code.
1502Locator failure "The html element could not be found to perform action"YesUser Script FailureA special case of 1501 Clickpath action failure where the failure was caused by missing or wrong locators so mainly locator failure. The player couldn't find the element to click on but if the validation before is not set to fail then it won't be a validation timeout error. Troubleshooting steps here. 
1601JS execution took too longYesJS step errorsJS execution has a shorter limit than a normal step
1602Exception was thrownYesJS step errorsAn exception occurred while the custom script was executing
1603Test marked as failed by the userYesJS step errorsThe user itself marked the test as failed
1701The specified target window is not foundYesPlayer errorThe target window specified in the script was not found, either it was specified by mistake by the customer or the recorder record it wrongly.
1702The specified target window got disconnectedYesPlayer errorThe target window to event is using has been disconnected, usually this is where the window closes before the event has completed. 
1801Undefined placeholder was usedYesScript placeholdersPlaceholder was used but was not defined
2001playback window was closedYesRecorder errorfrom recorder
2002playback window was minimizedYesRecorder errorfrom recorder
2003Extension is not enabled in incognitoYesRecorder errorfrom recorder (not defined in cluster), the text may change, behind a feature flag
2004There is another incognito window open that needs to be closed firstYesRecorder errorfrom recorder (not defined in cluster), the text may change, behind a feature flag
10054Connection ResetYesChrome net errorERR_CONNECTION_RESET is caused by issues that prevent a stable connection between your browser and a website. The problem usually originates from misconfigurations in the visitor's device or network. However, temporary connectivity issues or firewall restrictions from a website's web server can also cause the error.https://stackoverflow.com/questions/1434451/what-does-connection-reset-by-peer-mean
12000Default network errorYesChrome net errorThis error is thrown when we get an unknown / new chrome network error which does not fit any other error. Since sprint 168 It will be here https://github.com/adobe/chromium/blob/master/net/base/net_error_list.h but not in our list.
12006The site reported UNEXPECTEDChrome net errorChrome network error:net::ERR_UNEXPECTED error.
This is usually caused by an authentication issue. Try curling to the application from the ActiveGate, do you get a successful response? Often it is the case that a proxy is required to allow the ActiveGate to access the application. Or if you are already using a proxy, possibly you need to bypass it for the affected application. You can see the different scenarios available here. Potential mitigation of this error is ignoring it using this experimental flag in Browser Monitor script:{
   "configuration": {
      "experimentalProperties": [{
         "name": "IgnoreHttp2UnexpectedError",
         "value": "true"
      }]
    }
}
12010FailedChrome net errorChrome network error net::ERR_FAILEDIt sometimes shows up for CORS errors. If you playback the monitor locally, you can often get more information on the error from DevTools console. 
12012Address UnreachableYesChrome net error 
12013DNS Lookup FailureYesChrome net error 
12014Connection TimeoutYesConnection error Chrome net errorThis error can be caused from 2 places, as an exception to cancel transaction when connectionTimeoutExceeded or as a chrome network error net::ERR_CONNECTION_TIMED_OUT. The first is when it takes so long to receive a response from the server. By default it's a 59 seconds unless specified otherwise in the script.
12015Unsafe PortYesChrome net error 
12016Connection RefusedYesChrome net error 
12017Too many redirectsYesChrome net errornot in recorder This error is handled as netWorkError and it sets a connection error similar to 12014
12018There is no Internet connectionYesChrome net errornew in case of emulateNetworkConditions true and offline true
12019Request was blocked by client / Malicious resource detectedYesChrome net error but triggered by usIn case of coin mining url, we block the web request and report the error as it's reported by chrome.
12020The site unexpectedly closed the connectionYesChrome net errorSince sprint 142, in case a connection is closed from the server / proxy / firewall side.
12026The site reported ERR_SPDY_INADEQUATE_TRANSPORT_SECURITYYesChrome net errorSince sprint 162
12027The site reported ERR_EMPTY_RESPONSEYesChrome net errorSince sprint 167
12032The site reported ERR_SSL_VERSION_INTERFERENCEYesChrome net errorSince sprint 168
12033The site reported ERR_TIMED_OUTYesChrome net errorSince sprint 168
12034The site reported ERR_BLOCKED_BY_CLIENTYesChrome net errorSomething is preventing a webpage from loading certain resources. Check antivirus and firewall settings. Check troubleshooting steps in Firewall Constraints and allowlisting for Synthetic Monitoring
12035The site reported ERR_SSL_PROTOCOL_ERRORYesChrome net errorFor private locations, try disabling QUIC protocol, see Error code 12161. Check the AV settings. Check TLS versions used. 
12047The site reported ERR_TUNNEL_CONNECTION_FAILEDYesChrome net errorFor private locations, confirm proxy details are correct in custom.properties. See proxy scenario documentation
12049The site reported ERR_SSL_CLIENT_AUTH_CERT_NEEDEDYesChrome net errorHow to avoid the Synthetic Browser monitor Error Code 12049 "ERR_SSL_CLIENT_AUTH_CERT_NEEDED"
12143The site reported HTTP2_PROTOCOL_ERRORYesChrome net errorMay be caused by firewalls like Akamai. In these cases, add Synthetic Browser Monitor traffic to the firewall allow list. 
12161The site reported QUIC_PROTOCOL_ERROR YesChrome net errorFor private locations, you can disable QUIC protocol, by adding the following line to the user.properties file
com.ruxit.vuc.poolConfig.playerConfig.additionalStartupParams=--disable-quic
Linux:  Update /var/lib/dynatrace/synthetic/config/user.properties and then restart the vuc.service.
Windows: C:\ProgramData\dynatrace\synthetic\config\user.properties and then restart the Dynatrace Synthetic Gateway service.
12183The site reported HTTP_RESPONSE_CODE_FAILUREYesChrome net errorThis is a generic error which you need to check further into. It's alerting you to a status code that is not considered successful, usually 401, 404, 500 etc. Checking the screenshot is usually sufficient but if that does not reveal anything, you can check the waterfall and execution log (see Synthetic Player (VUP) logs section here)
20000Unspecified Event Type ErrorYesUser Script FailureInternal error when the event we want to simulate is unspecified. Should not happen.
20001INVALID_USER_AGENTYesUser Script FailureUser Agent is Missing RuxitSynthetic part with test id and run id
20002ABORT_PSR_ERRORYesUser Script FailureChrome startup error

What’s Next

If this article didn’t help resolve the issue, open a chat and provide

  • a link to the browser monitor that you are troubleshooting.

  • an explanation of the behavior you are seeing, and what you are expecting.

  • the troubleshooting steps you have already completed.

    You can find further troubleshooting tips for Synthetic in the Synthetic Troubleshooting Map

18 Likes

@xu_guo,

Thanks a lot! I believe these codes should also be in the documentation.

BTW, do the 97? codes also appear in synthetics?

Hi @xu_guo

Do you have any idea how to get past and fix the error 12020 - The site unexpectedly closed the connection.

There is also an error code 12006 Site Reported Unexpected, if anyone has experience with that.

12006 Site Reported Unexpected is the Chrome ERR_UNEXPECTED error. This is usually caused by an authentication issue. If you curl to the application from the ActiveGate, do you get a successful response? Often it is the case that a proxy is required to allow the ActiveGate to access the application. Or if you are already using a proxy, possibly you need to bypass it for the affected application. You can see the different scenarios available here

4 Likes

Hello,

We’re observing "The request failed with error 12100: ABORTED", any idea what exactly this means? and possible causes?

Couldn’t find any details in the docs.

Thanks,

Sravanth.

"The request failed with error 12100: ABORTED" is seen where the request got aborted, and the browser doesn’t provide any more details. Do you see the same in DevTools?

1 Like

Hi @HannahM ,

No, we observe this error only in waterfall analysis of the synthetic executions and is intermittent with no real trend.

OK, I would open a chat in the WebUI and provide a link to monitor and if possible a Har from when the page was loaded. Thanks

Are these codes in the doc anywhere?

What does this one mean?

“healthStatusCode”: 17,
“healthStatus”: “CONSTRAINT_VIOLATED_VALUE”,

Is that from a Browser Monitor or HTTP Monitor? We mention it here for HTTP Monitors

1 Like

@HannahM

Can you please tell me how to resolve the 403 error of the synthetic monitor?

The URL is getting loaded when I try in the browser, but somehow, it is throwing a 403 error in Dynatrace.

I have created RUM for this application, but no user actions are getting captured, to troubleshoot this I created the synthetic monitor which is throwing a 403 error.

Can you please help me with this?

Hi @Vaishnavi_Ubhe,

Is your synthetic running against public Dynatrace robot? Private location?

Best regards

@AntonPineiro

Is it running against a private location.

403 is a forbidden error. Have you added credentials to the monitor to allow it access? If you open the page from the Private location does it have access? Sometimes customers need to explicitly allow certain machines to have access using a proxy or network rules.

Hi,

I have the same behavior (intermittent as well).

Did you found the root cause and/or a fix ?

Best regards

Alexandre

Hello,

We’re observing "The request failed with error 12100: ABORTED", any idea what exactly this means? and possible causes?

Couldn’t find any details in the docs.

Thanks,

Sravanth.

You’re missing “1702 - The specified target window got disconnected”.

1 Like

I have observed today in a waterfall:

  • This request failed with error 12101: FAILED.

Haven’t found any reference to it. What might it mean?

1 Like

“This request failed with error 12101: FAILED.” is what the Browser monitor shows for resources when Chrome returns

net::ERR_FAILED

Unfortunately, it’s quite a generic error. It sometimes shows up for CORS errors. If you playback the monitor locally, you can often get more information on the error from DevTools console, assuming it’s not intermittent.

1 Like

l will add to the Horizon vmware application I am randomly getting this error.

12183 - The site reported HTTP_RESPONSE_CODE_FAILURE