Documentation
Troubleshooting
What to look at when a connection does not come up.
First: the log
OpenVPN, GlobalProtect and the other server profiles write a Log. It is in the profile’s section Diagnostics, which opens by itself when a connection drops; in the menu bar window, Show Log in the … menu opens it in a window of its own. Copy puts it on the clipboard. The cause is usually in the last lines: a rejected sign-in, a server that doesn’t answer, an expired certificate.
WireGuard writes no log. There, the technical details under Diagnostics help: if Last Handshake says “none yet”, your Mac cannot reach the peer, or the keys don’t match.
Common cases
A tunnel is connected, but internal names don’t resolve. Look at DNS Domains in the profile. If it says Not in use, another tunnel provides the default DNS. Assign the tunnel its domains; see Several tunnels.
A network is unreachable although the tunnel is up. If the profile shows Networks overlap, traffic for this network may be going through another tunnel. The notice names the network and the tunnel.
After a drop, nothing works anymore. Check whether the kill switch is blocking: the profile then says Traffic blocked. Lift Block ends the block.
Options are missing after import. Cavvy leaves out options that would run scripts, and tells you which. This is intended; see Adding profiles.
Sign-in in the browser doesn’t come back. The browser must be allowed to open Cavvy. After ten minutes without completion Cavvy cancels the sign-in; connect again then.
A profile doesn’t connect by itself. Automatic connections show no dialogs. If the profile needs a password, a one-time code or a PIN that isn’t stored, Cavvy skips it; see Automation.
The system service
The tunnels are built by a system service that you allowed on first launch. Its State is shown in Settings under Advanced, in the section System Service:
| State | What to do |
|---|---|
| Running | Nothing. |
| Waiting for approval | Open System Settings… and turn Cavvy on under General › Login Items & Extensions, in the section Allow in the Background. |
| Not set up | Enable System Service… |
If the service doesn’t start after an update, Re-register System Service helps. Running tunnels stay up.
If Cavvy reports Parts of Cavvy are missing, the app is damaged. Download it again and replace it in your Applications folder.
Diagnostic report
Help → Save Diagnostic Report… (also in Settings under Advanced → Troubleshooting) writes a text file Cavvy-Diagnose-YYYY-MM-DD.txt. It contains:
- the versions of Cavvy and macOS,
- the profiles with their networks and overlaps,
- the state of the system service,
- the last lines of the logs,
- the Mac’s routes, DNS settings and network interfaces.
Cavvy redacts keys, passwords and session cookies in it. Profile names, server names, IP addresses and possibly user names are in there, though. Read the report through before you pass it on.
Where Cavvy keeps data
- Show Data Folder in Finder (Settings → Advanced) opens
~/Library/Application Support/Cavvywith the connection history. - The profiles themselves are kept protected with the system service under
/etc/cavvy, the logs under/var/log/cavvy. - Credentials are in the keychain under the name “Cavvy”.
Getting help
Write to [email protected] and attach the diagnostic report if you can.