DeepSeek Harness is young enough that most of its error messages don't tell you which layer failed. I spent longer than I want to admit on these, so here's what each one means and the command that ends it.
messages transport failed
The worst one, because it fires at three completely different points and the wording never changes. The fix depends entirely on how far the request got.
If no assistant text arrived at all, you never reached the provider. Check the HTTP status in the log — 401 and 403 mean the key, 404 means the model id, 407 and 502 and 504 mean something is proxying the request. No status at all means the connection never completed.
If part of the answer arrived and then stopped, the path works but something is cutting the stream. DSH streams output, so a proxy that buffers or kills idle connections will truncate long answers while short ones sail through.
If it failed after a tool call, the tool is the suspect, not the network.
dsh --profile web --dump-config
That prints the provider, model and base URL the profile actually uses. Read it before changing anything.
zsh: command not found: corepack
Node 25 dropped corepack from the official build. So corepack enable does nothing useful, and you have to install it:
npm install -g corepack
corepack enable
pnpm -v
But check one thing first — which -a node might list two paths. If nvm or fnm or volta is in play, enabling corepack under one Node does not install the shim for another.
which -a node
corepack --version
Plugin X is incompatible with dsh Y
The message names the range the plugin wanted. That range is the whole story: the plugin was built against a different dsh, and no amount of reinstalling will change what its package.json declares.
dsh plugin --profile web list
EBADENGINE
Node below 24.9.0. Not much to say — upgrade and retry.
--host refuses 0.0.0.0
This one is deliberate, not a bug. dsh web binds a specific local address because binding every interface is exactly how a local tool ends up exposed to the internet.
dsh web --host 192.168.1.20 --port 8080
If you need to reach it from another device, add --trusted-host with the same address and port.
no matching version found
Here's the thing that confused me: the package exists. @deepseek-ai/dsh has dozens of published versions. So "no matching version" is about the resolver, not the package.
Two causes, both common. Your npm might be pointed at a mirror that hasn't synced a fresh release — check with npm config get registry, then install straight from npmjs.org to confirm. Or a lockfile pins a version that was later unpublished, in which case installing the package alone succeeds while installing the project fails.
npm config get registry
grep -n "deepseek-ai/dsh" package-lock.json | head
zsh: command not found: dsh
Installed fine, but the shell can't find the binary. Print the prefix and look inside its bin directory:
npm prefix -g
ls "$(npm prefix -g)/bin" | grep dsh
If the file is there, the directory just isn't on PATH. If you switched Node versions with nvm at some point, the prefix itself moved and the old path is still in your shell.
What I'd do differently
Ask "which layer failed" before touching config. Every one of these cost more time than it should have because I started changing things before knowing whether the problem was the network, the runtime, or the shell.
The full set, with the three-way branching for each, is at dshtoolbox.com/guides/errors. If any of it is wrong I'd rather fix it than leave a bad command up.
Top comments (0)