When a remote session fails: Failed sessions
Every remote session records how far it got, from signalling to showing the screen. Failed sessions lists the ones that stopped, where and why, with the failure rate and how quickly pictures appear.
A remote session that does not start is annoying once. When it keeps happening on one device, one customer's network or for one technician, you want to know where it stops. Tenvara records the stages of every remote session as it goes, and Devices > Remote sessions has a Failed sessions tab that lists the ones that went wrong, with the stage each stopped at and why, in plain words.
Nothing needs switching on: every session in the browser viewer and the desktop viewer is recorded this way.
The five stages
Every session moves through the same stages, in order. The viewer and the device both report, and your server sees the messages pass between them, so the stage is known even when one side goes quiet.
| Stage | What happens |
|---|---|
| Signalling | The viewer and the device exchange their offer and answer through the server. |
| Consent | The person at the device is asked to allow the session, when the session policy asks them. |
| Finding a route | The viewer and the device try each pair of addresses, the relay included, until one works. |
| First picture | Connected: the device starts its capture and sends the first picture. |
| Showing the screen | The screen is showing. |
A session that reaches Showing the screen and ends when someone chooses is a good session.
What counts as failed
A session failed when it never showed the screen, or lost it for a reason nobody chose. So:
- the person at the device declining, or not answering in time, is not a failure: they said no;
- ending a session yourself, an administrator ending it, access being taken away, the session's time limit or allowed hours running out, and the person at the device ending it are not failures;
- a technician who closes a session within 10 seconds of starting it changed their mind; closing it after waiting longer counts as a failure, The technician closed it after waiting;
- a session that connected but never showed a picture is always a failure, however it ended;
- a session that was showing the screen and then lost the device, the capture or the route is a failure at Showing the screen.
The Failed sessions tab
- Go to Devices > Remote sessions.
- Choose the Failed sessions tab. The page heading reads Failed remote sessions.
- Choose the period: 7 days, 30 days (the default) or 90 days.
Four tiles sum up the period:
| Tile | What it shows |
|---|---|
| Sessions | Every session in the period, less the ones the person at the device declined. |
| Failed | How many failed, and the share of sessions that is. |
| Picture within 5 seconds | The share of sessions that showed the first picture within 5 seconds of starting, with the typical time and the time the slowest 5% took. |
| Where they failed | How many stopped at each stage. |
The list shows each failed session, newest first: When, Device, Customer, Who, Stopped at and Why, for example Finding a route: No direct route worked and neither side had a relay route. Filter by When, Device, Customer, Who, Stopped at or Agent (the device's agent version), save the filters as a view, or Export the list. In the Company edition there is no Customer column.
When nothing failed in the period, the tab says so, and All remote sessions takes you back to the full list.
Reading one session
Click a session to open its details, the same panel as on the Sessions tab, which shows the stages for every session, failed or not. Under Stages:
- The steps: each stage ticked when it was reached, crossed where it failed and dashed where it was never reached. Hover a step to see what it means.
- Failed at: the stage, then why, for example Failed at finding a route: Every route failed, the relay included.
- The device said: the device's own words, when it sent any.
- First picture (how long the first picture took), Relay offered, Viewer route state and Agent version.
- Addresses offered: for the viewer and for the device, how many Local, Public, Learnt and Relay addresses each side offered. A 0 under Relay at the route stage is shown in red: that is usually the answer.
- What the server saw: every step in order with its time from the start, such as Viewer sent its offer, Device answered and First relay address, each marked as coming from the viewer, the device or the server.
What to try at each stage
| Stopped at | Usual reasons | What to try |
|---|---|---|
| Signalling | The device never answered the offer. | Check the device is really online and its Remote control module is on. Restart the agent from the device's Toolbox and try again. |
| Consent | The prompt was shown but the session ended before the person answered. | Ring the person, or check the session policy's consent settings in Settings > Remote access. |
| Finding a route | The viewer offered no network address at all, The device offered no network address at all, No direct route worked and neither side had a relay route, Every route failed, the relay included, Still trying routes when the connect time ran out | Look at Addresses offered. If neither side had a relay address, open the Relay tab of Settings > Remote access, which says whether the relay is working and why not. A firewall that blocks the traffic on either network is the next suspect; the browser viewer can also reach the relay over TLS on port 443. |
| First picture | Connected, but no picture ever showed. | Nobody may be signed in where the session policy needs someone, the device may be at a screen it cannot capture, or a Mac may be missing Screen Recording. Check the device page, then try again. |
| Showing the screen | The device went offline, its capture stopped or the route dropped. | Usually the device's network or the device going to sleep. Check its timeline for the same moment. |
A device's own failures also show on its Remote sessions card. See Picture quality on slow links and the connection details.
Related
Was this page helpful?
Thanks for the feedback.