Troubleshooting
Articles about how to solve the most common problems
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
a_barbera
Dynatrace Contributor
Dynatrace Contributor

Summary

If your Dynatrace Synthetic Browser Monitor fails due to WebSocket connection issues, the error is not always visible in the UI.

This guide shows you how to:
  • Locate the correct ActiveGate logs
  • Identify WebSocket errors (e.g., status 1001)
  • Use the VisitId to trace failures across logs
  • Pinpoint the exact step where the failure occurred

 

 

Step 1 – Download Synthetic logs from ActiveGate

  1. Go to Deployment Statusa_barbera_0-1683560261401.png
  2. Select Run ActiveGate diagnostics. This may take some time.a_barbera_1-1683560323939.png
  3. Download the generated Support Archive
    👉 This archive contains Synthetic execution logs, including browser-level logs.
  4. Extract the archive locally

a_barbera_2-1683560936171.png

Step 2 – Locate the browser log file

Navigate to:
COLLECTOR/0x____/synthetic/vuc-logs/
Open:
vuc-browser.log
This file contains browser execution details, including WebSocket activity

 

a_barbera_4-1683561169720.png

Step 3 – Identify failed executions

Search for:
TEST_ABORTED
This indicates a failed execution.
Example:
WebSocket connection is closed (Status 1001)
👉 This confirms a WebSocket-related failure.

 

a_barbera_0-1685100778094.png

 

Step 4 – Extract the VisitId

Within the same log entry, locate:
VisitId = <number>
Example:
6680333610458108891
The VisitId allows you to correlate logs across components.
 

Step 5 – Correlate with VUP logs

Recent executions

Navigate to:

COLLECTOR/0x____/synthetic/vup-logs/
Search for files containing the same VisitId.
👉 Only recent executions, the last hour or 2, are available in this archive. Later on, we will see how it is possible to check older executions.
 

a_barbera_0-1685102280024.png

The number of the VisitId is in the middle of the file names

 

a_barbera_3-1685102438106.png

 

 

Older executions

Navigate to:
COLLECTOR/0x____/synthetic/vup-archivedLogs/

In this folder, we will see other folders named Dates and Hours:
a_barbera_1-1684135589169.png

 Open the file for the day and hour that the execution occurred.

Search for files containing the same VisitId.

👉 The time on the files uses the timezone the ActiveGate is using.

 

Step 6 – Identify the failing step

Inside the matching file, search for:
  • Index
  • Step
  • Type
These help identify:
  • The last executed step
  • Where the test stopped
Example:
  • Failure between Step 42 → Step 43
    → Indicates where to investigate or adjust the monitor.

a_barbera_4-1685102504572.png

 

Resolution

In some cases, WebSocket-related failures are not caused by connectivity issues, but by how the Synthetic Browser Monitor handles timing between steps. Things you can try:


What's Next

If the issue persists after trying JavaScript and trusted events, open a support chat or ticket and provide:
  • A link to the affected monitor
  • The selector and JavaScript used
  • A reference to this article

 

Related reading 

📖  Synthetic Troubleshooting Map

📖  Browser Monitor Wait options

📖  Useful Synthetic ActiveGate logs

📖  Collect a Support Archive for Troubleshooting issues in Dynatrace  

Version history
Last update:
‎11 Jun 2026 05:43 PM
Updated by:
Comments
ChadTurner
DynaMight Legend
DynaMight Legend

Great write up @a_barbera 

sujit_k_singh
Champion

This is really awesome.. @a_barbera 

radek_jasinski
DynaMight Guru
DynaMight Guru

Thank you very much for this advice! It came in handy!