# Initial troubleshooting when Session Replay is not available

**URL:** <https://community.dynatrace.com/t/initial-troubleshooting-when-session-replay-is-not-available/49353>\
**Category:** Troubleshooting\
**Tags:** session-replay, real-user-monitoring-classic\
**Created:** [December 17, 2024, 6:53am UTC](https://community.dynatrace.com/t/initial-troubleshooting-when-session-replay-is-not-available/49353 "2024-12-17T06:53:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanako\_sato](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@kanako\_sato](https://community.dynatrace.com/u/kanako_sato)\
**Post date:** [December 17, 2024, 6:53am UTC](https://community.dynatrace.com/t/initial-troubleshooting-when-session-replay-is-not-available/49353/1 "2024-12-17T06:53:49Z")

</div>

# Abstract

This article shows initial troubleshooting steps when Session Replay is unavailable. These steps will help you to narrow down the issue and understand which points to check.

# Problem

When you click Session Replay on the user session page, you cannot start Session Replay with the screenshot like below (message shown on the page may differ).

 ![kanako_sato_0-1734397217545.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/7/a794e1440bde3bfcb4b1f6fdfd5a95edf5c8134b.png)

# Troubleshooting steps

**1. Check Session Replay is enabled**

Go to Application → Settings → General settings → Enablement and cost control.

Make sure Session replay is enabled, and Cost and traffic control is set to 100%.

 ![kanako_sato_0-1734070087696.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/f/5f06464481be9c44afd6fec2cefb428232a42d2d.png)

**2. Check prerequisites and technical restrictions**

Read through the [Prerequisites](https://docs.dynatrace.com/docs/shortlink/enable-session-replay#prerequisites) and [Technical restrictions](https://docs.dynatrace.com/docs/observe/digital-experience/session-replay/session-replay-restrictions-web) documents and make sure that the monitored application meets the prerequisites and does not use unsupported technologies.

**3. Check the JavaScript agent with feature “Q” and a separate one with feature “D”.**

- When Session Replay is disabled, only one ruxitagentjs\_\* without “Q” is seen.

 ![kanako_sato_1-1734070087698.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7656777fad144770e1d6a08a9f246eb594a3134a.png)

- When Session Replay is enabled, two ruxitagentjs\_\* requests are seen. One has a feature “Q”, and the other has a feature “D”.

 ![kanako_sato_2-1734070087699.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/c/1c4f4f1586bef671bf150f62b3b87de613e6d480.png)

Note: If manual injection is used, ruxitagentjs\_\* with “Q” is not seen in the traffic. In this case, check ruxitagentjs\_D\* is seen.

When you cannot see ruxitagentjs\_\* with Q feature, check the RUM JavaScript injection and see if ruxitagetjs\_\* with Q feature is called.

In case manual injection is used, make sure the injected code is updated.

 ![kanako_sato_3-1734070087702.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/4/b4e5f515ea8b3aaee4aea610f7f72ddcabc3c47c.png)

If you have CDN, you may need to wait before the change is done on CDN.

**4. Check the beacon requests.**

Session Replay sends two types of beacons, _srTe_ and _srBm._

- srTe beacons are for tracking the events (view, move, click, resize, scroll and input). srTe beacons are text.

 ![kanako_sato_4-1734070087705.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/b/0b8f6ce589c04458b09ebf4419956c1699a06b06.png)

- srBm beacons are for tracking the DOM changes. srBm beacons are binary.

 ![kanako_sato_5-1734070087708.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/1/41ab610fb65347b00f3e180f2fd675e38846f7fc.png)

All the Session Replay beacon requests should get 200 response code, and the response body should be started with OK.

 ![kanako_sato_6-1734070087710.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b2917db97c83e60da6351c76cfaac1b5c6528c01.png)

When there are firewalls that may block binary content, make sure srBm beacons are allowed to pass as a prerequisite. Otherwise, all srBm beacons have been rejected, and the sessions won’t be replayable.

For required firewall settings, refer to [Firewall constraints for RUM](https://www.dynatrace.com/support/help/shortlink/rum-firewall#requests).

**5. Try Session Replay with disabled opt-in mode**

[Session Replay opt-in mode](https://docs.dynatrace.com/docs/shortlink/session-replay-personal-data#sr-opt-in-mode) gives you the freedom to decide which parts of a user session must be recorded and when recording is permitted to begin.

When the opt-in mode is enabled, try to disable opt-in mode. The opt-in mode is configured at Application → Settings → General settings → Data privacy → Session Replay → Enable opt-in mode for Session Replay.

 ![kanako_sato_7-1734070087712.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b2e8cf70b984813fea20eda266e389b0bf61e3fd.png)  
If Session Replay is available when the opt-in mode is disabled, make sure&nbsp;_[dtrum.enableSessionReplay(ignoreCostControl: boolean)](https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#enableSessionReplay)_&nbsp;method is properly invoked.&nbsp;Check [Opt-in mode](https://docs.dynatrace.com/docs/shortlink/session-replay-personal-data#sr-opt-in-mode)&nbsp;documentation for more details.

# Resolution

The issue may occur for several reasons.

Check the points mentioned in each step and see if this solves the issue.

# What’s next

When the issue is not solved by the above steps, please collect [Fiddler trace or HAR file](https://community.dynatrace.com/topic/239009#:~:text=New%20Article-,Web%20applications%3A%20Use%20Fiddler%20for%20debugging,-maliborskaya) and contact support.
