Devsy
Troubleshooting

Troubleshooting

Known issues and workarounds. For Linux-specific problems, see Linux troubleshooting.

Utilities not found in PATH

If Devsy Desktop cannot find tools such as docker in your PATH, start it through your shell. On macOS:

#!/usr/bin/env sh
exec $SHELL -c 'exec /Applications/Devsy.app/Contents/MacOS/Devsy'

Port forwarding does not work without an IDE

Port forwarding needs an open SSH session. With --ide none, keep one open with devsy workspace ssh WORKSPACE_NAME. Ports declared in Docker Compose do not need it.

Reading CLI errors

Pass --log-output json to get errors as JSON with a stable code and a message. Some errors also include a hint and a context object.

{
  "code": "UNKNOWN",
  "message": "exit status 1: something failed"
}
CodeMeaning
RATE_LIMITEDAn upstream API rate-limited the request. Wait and retry, or authenticate.
BUILD_FAILED_RECOVERABLEThe devcontainer build failed in a way that can be retried, for example with --recovery.
docker_daemon_unreachableDocker is not running or not reachable.
canceledThe operation was canceled.
deadline_exceededThe operation timed out.
unlock_required, unlock_failedThe secrets store is locked, or unlocking it failed.
secret_backend_unavailableThe secrets backend could not be reached.
secret_store_corruptThe secrets store could not be read.
secret_not_foundThe requested secret does not exist.
PANICDevsy hit an internal error. Please report it.
UNKNOWNThe error was not classified. The original text is in message.

Run with --debug to see the full error chain.

Windows: line 2: $'\r': command not found

Windows line endings break shell scripts inside the container. Add this to .gitattributes:

*.sh eol=lf

Neovim: $TERM issues over SSH

See issue #1187 for a workaround.

On this page