Whitelisting Troubleshooting Guide
Last updated: June 26, 2026
Overview
When Noibu is not capturing sessions, the root cause is almost always one of the following two issues:
Script not deployed - The Noibu script tag is missing from the page HTML entirely.
CSP misconfiguration - The site's Content Security Policy allows the script to load but blocks the outbound connections and workers Noibu needs to transmit data.
Prerequisites
Before running the steps below, confirm the following:
You have access to Chrome (or any Chromium-based browser).
You can open Chrome DevTools on the website (F12 or Cmd+Option+I).
You know the domain URL.
1. Confirm the Noibu script is deployed
Open Chrome DevTools on the website, go to the Console tab, and run:
Interpreting the result
Expected output when deployed
[ 'https://cdn.noibu.com/collect-core.js',
2. Confirm Noibu initialises correctly
Even if the script tags are present, the scripts may not be executing. Run the following in the Console:
Interpreting the result
3. Check the Content Security Policy (CSP)
A CSP controls which external domains a page can load scripts from, make network requests to, and create workers from. Even if Noibu's scripts load successfully, the CSP may block the outbound connections Noibu needs to transmit session data.
3a — Retrieve and parse the CSP header
Run the following in the Console to extract the relevant CSP directives:
What to look for:
3b — Actively test each capability
Run the following in the Console to confirm whether the CSP is actively blocking Noibu's runtime connections. This test works even if the CSP header was not found in Step 4a (some CSPs are delivered via meta tags or middleware):
Interpreting the result
Note on the Worker error message
The message 'Script at ... cannot be accessed from origin ...' is the browser's CSP violation message, not a CORS error.
A CORS error would say 'No Access-Control-Allow-Origin header'. If you see the 'cannot be accessed' wording, the CSP worker-src directive is the cause.
3c — Fix
Get your development team to update the site's CSP configuration to add the following to each directive:
On Magento 2 sites, the CSP is configured in the Magento Admin or in a module's csp_whitelist.xml file. On other platforms, refer to the platform's documentation for CSP configuration.
Additional Whitelisting Requirements
Beyond the CSP, Noibu's servers also need to be able to access the CDN in order to replay sessions and beautify stack traces. If session replays appear blank or stack traces are unreadable, the following also need to be whitelisted on the CDN or WAF: