> ## Documentation Index
> Fetch the complete documentation index at: https://docs.within.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Test your setup for Companion

> Run Test your setup to check that your browser, microphone, screen share and network can run a Companion session, and learn what to do when a check fails.

**Test your setup** is a check that is built into Companion. It tests your browser, your microphone, your screen share and your network connection. It takes about 2 minutes.

> [!NOTE]
>
> **In short:** run the test on the network where people work, with the VPN on. If every check passes, Companion can run there. If a check fails, download the report and send it to your IT team.

## When to run it

* **Before a rollout.** Your IT team or a pilot user confirms that the company network lets Companion connect.
* **When a session has a problem.** The session does not start, it shows no screen or audio, or it disconnects after 1 to 2 minutes.
* **After a network change.** Your IT team changed a firewall, a proxy or a VPN rule, and you want to confirm the result.

## Run the test

The result is correct only for the place where you run the test. Run it in the same conditions as a real session:

* On the company network, if people work in the office.
* With the VPN on, if people use one.
* On the same computer and in the same browser that people use for Companion. Companion runs in Google Chrome and Microsoft Edge.

**1. Open the test**

Open the Companion start page and scroll to the bottom. Next to **Something off?**, click **Test your setup**.

![The Test your setup link at the bottom of the Companion start page, to the right of Something off? and Device permissions. An orange ring shows the link.](https://mintcdn.com/within-docs/99xE0H9TbkUkIQJ7/images/companion-test-your-setup-link.png?fit=max\&auto=format\&n=99xE0H9TbkUkIQJ7\&q=85\&s=c0324b2ce3860b91b37e831c182c655f)

**2. Start the checks**

Click **Start Checks**.

**3. Check the microphone**

Click **Allow Microphone**, then allow the microphone in the browser prompt. The test shows **Microphone working** when it hears audio. Click **Next** if the test does not continue by itself.

**4. Share your screen**

Click **Allow & Start Check**, then choose a screen in the browser prompt. The test needs a shared screen to measure the connection.

**5. Wait for the result**

The network checks take about 1 minute. Then you see one of two results:

* **All good!** Every check passed, and your setup is ready for Companion sessions.
* **A list of checks.** One or more checks failed or show a warning. See [Read the results](#read-the-results).

**6. Download the report**

Click **Download Report**. The report is a text file with the name `within-diagnostic-report-<date and time>.txt`. Keep it. Your IT team and Within support need it when a check fails.

AI Interviewer has the same test on its setup screen.

## Read the results

| Check | What it tests | If it fails |
| - | - | - |
| **Browser Supported** | The browser can run a session. | Use a current version of Google Chrome or Microsoft Edge. |
| **Screen Share Supported** | The browser can share a screen. | Use Google Chrome or Microsoft Edge on a computer, not on a phone or a tablet. |
| **Microphone Detected** | The browser can use a microphone. | Connect a microphone. Allow it in the browser and in the operating system. |
| **Internet Connection** | The computer can reach the servers that set up a session. | The network blocks the connection. Send the report to your IT team. |
| **Session Connection** | The screen and audio stream can leave your network. | A firewall, a proxy or a VPN blocks the stream. Send the report to your IT team. |
| **Call Quality** | The delay, the data loss and the upload speed of a short test stream. | The connection is slow or loses data. Try a different network, then send the report to your IT team. |

**Internet Connection** can show a warning with the text **Some far regions unreachable (calls still work)**. Sessions usually work with this warning. If people have problems in a session, send the report to your IT team.

## If a network check fails

This section is for your IT team. Companion uses [Daily](https://www.daily.co) for the screen and audio stream.

Send your IT team these two items:

1. The report that you downloaded.
2. Daily's [corporate firewall guide](https://docs.daily.co/docs/guides/privacy-and-security/corporate-firewalls-nats-allowed-ip-list). It lists the hostnames, the ports and the IP addresses to allow.

Most failures have one cause: the session connects, but the screen and audio never arrive. **Internet Connection** passes, and **Session Connection** fails. Three rules prevent it:

* **Exempt the real-time media from TLS inspection.** A proxy that decrypts traffic stops the stream. To allow the hostnames is not enough: exempt TURN, STUN and ICE traffic from inspection.
* **Allow media by IP address, not by hostname.** The media packets carry no hostname, so a hostname rule can't match them. Daily publishes its IP ranges at `https://ip-info.daily.co/ips/ip-info.json`.
* **Allow both relay providers, Cloudflare and Twilio.** Daily uses both. A rule for only one leaves some sessions blocked.

Two more points:

* **VPN.** A VPN sends the traffic of people at home through the same company proxy. Ask about split tunneling for Daily traffic.
* **No Within account?** Your IT team can run [Daily's network test](https://network-test-v2.daily.co/) in a browser. It tests the connection to the same real-time service.

After a rule changes, run **Test your setup** again on the same computer.

## Test before a rollout

One passed test covers the people who have the same network and security setup.

* **The setup is the same for everyone:** one person runs the test on the company network. If every check passes, no network change is necessary.
* **The setup is different by office, country, business line or VPN:** one person in each group runs the test. Fix the network for each group that fails.
* **People work in a virtual desktop:** run the test where Companion will run. We recommend the laptop. See [Running Companion on the laptop instead of inside the virtual desktop](https://docs.within.ai/user-docs/troubleshooting/companion-laptop-vs-virtual-desktop.md).

## When to contact support

Contact Within support when one of these is true:

* A check still fails after your IT team applied the firewall guide.
* Every check passes, but sessions still fail.

Send us these items:

* The report that you downloaded.
* The email address of the person who has the problem.
* The date, the time and the time zone of a session that failed.
* If the person uses a firewall, a proxy or a VPN.

## Related articles

* [Re-running Companion when a session fails](https://docs.within.ai/user-docs/troubleshooting/re-running-companion.md)
* [Companion slows down your machine](https://docs.within.ai/user-docs/troubleshooting/companion-machine-slowdown.md)
* [Running Companion on the laptop instead of inside the virtual desktop](https://docs.within.ai/user-docs/troubleshooting/companion-laptop-vs-virtual-desktop.md)

> [!NOTE]
>
> **Need help?** Use the in-app chat — click the chat bubble in the bottom-right corner of Within (staffed 24×5) — or email [support@within.ai](mailto:support@within.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.