Troubleshooting Cattr Desktop connection and login #360
Cattr Admin
announced in
Guides & How-tos
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This guide covers the most common cases where the Cattr web interface works, but Cattr Desktop cannot connect, reports “Cattr is not found on this hostname”, or fails during login.
1. Check the server first
Before troubleshooting the desktop client, make sure the Cattr server itself is reachable from the same computer.
Open:
Replace
cattr.example.comwith the public hostname of your Cattr instance.The endpoint should be reachable and return an HTTP 200 response.
If
/api/statusis not reachable, fix the server or reverse-proxy configuration first. The desktop application cannot authenticate against an instance whose API is not exposed correctly.2. Use the public Cattr hostname
In the Hostname field, enter the address users normally use to access Cattr.
For example:
or explicitly:
If the instance intentionally uses plain HTTP, specify it explicitly:
Do not use:
The desktop client validates the hostname before asking for the user's credentials.
3. “Cattr is not found on this hostname”
The current desktop client reports this error when instance detection receives a 404 response.
Check the following in order:
/api/statusin a browser from the affected computer./api.Older Cattr Desktop releases used a multi-step discovery process involving:
and versions before Desktop 3.0.0 could incorrectly construct double-slash URLs such as:
If you are troubleshooting an old client, upgrading the desktop application should be one of the first steps.
4. Reverse proxy checklist
A reverse proxy must expose the Cattr API on the same public instance used by the desktop application.
At minimum, verify that:
/api/statusreaches Cattr;/api/auth/loginreaches Cattr;Hostheader is preserved;A browser successfully loading the frontend does not prove that
/apirouting is correct.A common failure mode is:
In that case, the web page may appear healthy while Cattr Desktop rejects the instance.
5. HTTPS and certificates
If the instance uses HTTPS, verify the certificate from the affected workstation.
Check that:
Old Cattr Desktop 2.x builds had known certificate-chain problems after changes to the Let's Encrypt trust chain. That specific issue was addressed by rebuilding/upgrading the client, but certificate validation is still worth checking whenever the browser and desktop application behave differently.
6. Browser login works, desktop login does not
If
/api/statusworks and the desktop application accepts the hostname, but authentication still fails:The desktop client stores credentials/tokens using the operating system keychain. Keychain problems can therefore also cause desktop-only authentication failures.
7. Desktop logs
Cattr Desktop stores its data in Electron's
userDatadirectory.Inside that directory, logs are stored under:
Log files are named similarly to:
The exact base
userDatapath depends on the operating system and build.The same application-data directory also contains:
Do not delete the database as a generic troubleshooting step if the client may contain unsynchronized offline work.
Useful log entries include:
Backend traceId;Client traceId.8. Information to include when asking for help
When opening a Q&A discussion, include:
/api/status;Do not post passwords, access tokens, cookies, private keys, or complete configuration files containing secrets.
All reactions