Network / cert errors
What to check when a device can't reach VelaOS, shows as offline, or fails on a certificate.
VelaOS devices open every connection themselves, outwards and encrypted. When one of those connections is blocked or tampered with, you see one of the symptoms below. The fix is almost always on the network between the device and the internet, not on the device.
What do you see?
- The Setup Assistant says Can't reach VelaOS. Check the network cable or Wi-Fi; retrying.
- The Wi-Fi in the Setup Assistant shows No internet.
- A device shows as offline in the console, or joined but never came online.
- Updates or apps stay on Downloading, or fail with
DOWNLOAD_FAILED. - Commands fail with
ENV_CLOCK_SKEW(the device's clock is wrong). - A network profile you sent was undone on the device.
Work through the checks below in order. Each one rules out a common cause.
The checks, in order
1. Does the device have a network at all?
Plug in a network cable you know works. In the Setup Assistant, a Wi-Fi network shows Connected only when the internet is reachable. No internet usually means the network wants a sign-in page, as guest Wi-Fi does. Those networks don't work for devices: use a cable or another network.
2. Do names resolve?
Devices look up the VelaOS addresses with your DNS servers (Domain Name System). Check that a computer on the same network segment can resolve them.
3. Does your firewall allow the connections?
Allow these outbound connections from the devices' network:
- Encrypted web connections (HTTPS) to VelaOS, for joining, policies, reports, OS updates and apps.
- The encrypted messaging connection to VelaOS, for status and commands.
- Your time servers, and DNS.
Allow host names, not IP addresses: the addresses behind them can change. The full list of addresses and ports to allow is in the network reference (sign in to read it).
4. Is there a web proxy?
Devices can send their HTTPS traffic through a web proxy, but status and commands don't use it. A device behind a proxy that can't make the messaging connection directly joins and shows in the console, then stays offline. Allow that connection directly.
5. Is encrypted traffic being inspected?
This is the most common cause of certificate errors. Firewalls with TLS inspection (Transport Layer Security, also called SSL decryption or HTTPS inspection) replace the server's certificate with their own. Devices only trust the genuine VelaOS certificates, so the connection fails. Exclude the VelaOS addresses, and the VelaOS download storage, from inspection.
6. Is the device's clock right?
A certificate is only valid between two dates, so a device whose clock is far off rejects valid certificates. Signed commands are refused when the clock is more than 30 seconds off (ENV_CLOCK_SKEW). Allow the device to reach public time servers or your own, then send the command again.
7. Does the network need 802.1X?
Networks that sign devices in with a certificate, Enterprise Wi-Fi and wired 802.1X, aren't supported yet. Use a wired port without 802.1X, or a Wi-Fi network with a shared password (WPA-Personal), for now.
A network profile was undone
When a device applies a network profile from the console and then loses contact with VelaOS, it puts its previous settings back by itself, so a wrong profile can't cut it off.
NETWORK_PROFILE_REVERTED: the previous settings are back. Check the profile's network name, password and certificates, then send it again.NETWORK_PROFILE_REVERT_FAILED: restoring the previous settings also failed. Go to the device, connect a network cable, and send the profile again once it is online.
Apps can't connect to your own servers
If an app on the device reaches a server inside your organisation and fails on its certificate, the server probably uses a certificate authority (CA) that your organisation runs. Devices don't trust it until you add it.
- Open File Bridge and upload the CA certificate: one PEM file of 64 KB at most.
- Send it to the devices or a group with Trusted certificate (CA) as its destination, and confirm.
If the device answers CA_TRUST_UPDATE_FAILED, nothing changed on it: collect its logs and send the certificate again. Your virtual-desktop and other vendor apps also need the ports their vendors document.
Live View doesn't connect
Live View works through VelaOS from any network. Live View uses a direct, encrypted connection on your local network only while someone is watching. If a session can't connect, its window says why, for example that your browser and the device couldn't reach each other. Check that the device is online, then try again.
Still offline?
Choose Collect logs as soon as the device is back online, or take a photo of its screen if it never comes online, and see Filing a useful ticket. Say which of the checks above you ran, and whether the network uses a proxy or TLS inspection.