Skip to content

Troubleshooting the desktop gateway

The packaged desktop application starts its gateway on loopback port 51718. It does not use the development gateway port 8081.

Terminal window
curl -i --max-time 3 http://127.0.0.1:51718/health

A working gateway returns HTTP 200 and:

{"status":"ok"}

macOS:

Terminal window
tail -n 100 "$HOME/Library/Application Support/com.caberos.desktop/logs/gateway.log"

Windows (PowerShell):

Terminal window
Get-Content "$env:APPDATA\com.caberos.desktop\logs\gateway.log" -Tail 100

The log is append-only with bounded rotated backups, so older startup attempts may appear above the latest error.

macOS:

Terminal window
pgrep -alf 'CaberOS|caberos-gateway'
lsof -nP -iTCP:51718 -sTCP:LISTEN

Windows (PowerShell):

Terminal window
Get-Process | Where-Object { $_.Name -match 'CaberOS|caberos-gateway' }
netstat -ano | Select-String ':51718'

If another process owns port 51718, quit it or stop the conflicting development process before relaunching CaberOS.

  • ImportError in gateway_entry — the DMG contains an outdated gateway build; download the latest release.
  • No gateway log — the app may not have permission to create its data directory or may be pointing at a different application identifier.
  • Gateway exited immediately — inspect the final traceback in gateway.log and include it in a bug report after removing secrets.
  • Application is damaged — verify the DMG source, then follow the installation guide Gatekeeper step.