Docs / Troubleshooting and FAQ

← User guide

Troubleshooting and FAQ

Start with Test connection in the connection's form: it reports the failure with the server's own message, and names the server version where that helps.

Connection errors

The host cannot be reached

Check the host and the port first (the form says "The host is missing." or "The port must be a number from 1 to 65535."). Then look at what sits between you and the server: an SSH tunnel, a proxy, a port forward, or a command around the connection that brings a VPN up (Network page). Each adds its own message, below.

TLS

On the Network page, SSL mode decides what is checked (see Connect).

SSH

Errors begin with SSH <user>@<host>:<port>:.

Proxy

Errors name the proxy, such as SOCKS5 proxy host:1080: … or HTTP proxy host:3128: ….

Keychain

Master password

A driver download fails

DuckDB, Snowflake, BigQuery, Databricks, Trino, other ADBC drivers, Oracle and IBM Db2 download their library the first time they are used. The popup says "Downloading the <name> driver…" with a Cancel, and a failure shows a message with Try again.

Settings › Drivers lists what is downloaded, removes a driver, and shows the system's ODBC drivers. A removal Windows refused is finished at the next start.

An agent does not see a connection

Work down this list.

  1. Access is off. The agent answers "<name> is not available to agents". In Settings › Agents › Security, set the connection to Read only or Read and write. A connection that came from a shared project starts at Off on your computer.
  2. A master password. The agent answers "the saved password of <name> is locked by PlatypusDB's master password, which agents cannot enter". Give that connection a password command or .pgpass, or turn the master password off.
  3. The password is asked every time. The agent answers "<name> asks for its password at each connection, and agents cannot type it". Save it in the keychain, or use .pgpass or a password command.
  4. Writes refused. Production and read-only connections are never more than read only; on others the change waits for your answer in the app (Agents).
  5. The client was not restarted after Install, or the entry is missing: Settings › Agents › Setup says whether PlatypusDB is in the client's file.
  6. A portable copy or another profile. The agent reads the connections of the profile it was started from; a client set up with the installed app does not see a portable copy's data folder.

The portable copy

Where the data and the logs are

The app keeps connections and settings (connections.toml, settings.toml, and secrets.vault with a master password) in its config folder, and history, scripts, downloaded drivers and logs in its data folder, both named dev.platypusdb.desktop:

SystemConfig folderData folder
Windows%APPDATA%\dev.platypusdb.desktop%APPDATA%\dev.platypusdb.desktop
macOS~/Library/Application Support/dev.platypusdb.desktopthe same
Linux~/.config/dev.platypusdb.desktop~/.local/share/dev.platypusdb.desktop

A portable copy keeps everything in its data folder, and the environment variable PLATYPUS_DATA_DIR puts everything in the folder it names.

Settings, the Diagnostics page

The log is logs/platypus.log in the data folder: one line per start, error and crash, rotated at 1 MB with two older files (platypus.1.log, platypus.2.log). Settings › Diagnostics shows the folder (Copy) and Save diagnostic package…, a zip with the version, the system, the settings without passwords and the logs, to attach to a bug report. Nothing is sent anywhere; read the logs before sharing, since an error may name a server or a table. After a crash, the next start offers the same package.

Updates

FAQ

Can I use PlatypusDB offline? Yes, with a local database. Downloads (drivers, updates) need the network.

Where do I report a bug? On the issue tracker, with the diagnostic package if you can.

Where are the shortcuts? SHORTCUTS.md, and Settings › Keyboard shortcuts to change them.