DeepSeek Harness Bluebook
Help & Ecosystem

Troubleshooting

Diagnose install dependencies, model/network, port, workspace, permission and build errors

Work through DeepSeek Harness problems as symptom → cause → fix. Each section lists the symptom, the most likely cause and an actionable remedy. If it isn't covered here, report it to the community.

Before you start: three quick checks

Run these in order first; they rule out most cases:

  1. Node version: node --version should meet ^22.19 or >=24.
  2. Key validity: confirm the model API key works and the API endpoint is reachable.
  3. Network: both the first launch and model calls need network access.

Installation and dependencies

SymptomCauseFix
pnpm install fails with missing or checksum errorsA stale or corrupted pnpm store cacheRun pnpm store prune to clear stale cache, then pnpm install again; if needed, remove node_modules and reinstall
Dependency download is slow or times outNetwork unreachable or the npm registry is downCheck the network; if needed, switch to a reachable npm registry and retry
Install errors point at pnpm itselfThe pnpm version is too oldUpgrade pnpm to a newer version and retry
Plugin install is rejected with an unrun prepare scriptpnpm ≥10 refuses to run git dependencies' prepare scripts until explicitly allowedCopy the exact package key pnpm prints into that profile's pnpm-workspace.yaml (onlyBuiltDependencies); see plugins
Build artifacts missing or command not foundWrong Node versionConfirm node --version meets ^22.19 or >=24; see installation
'npx'/'node' is not recognizedNode.js is not installed, or the terminal wasn't reopened after installingReinstall Node.js and reopen the terminal; on Windows check the installer added Node to PATH; see installation
First npx run hangsIt is downloading dependencies, or the network is downConfirm network access and wait for the first download to finish

Model and network

SymptomCauseFix
Model does not respond or times outInvalid key, no network access to the endpoint, or a wrong Base URLCheck key validity, endpoint reachability and Base URL; see configure models
Requests are blocked or time out through a proxyMisconfigured proxy environment variablesCheck HTTP_PROXY / HTTPS_PROXY and make sure the proxy does not block the model endpoint
MISSING_CREDENTIALA provider credential is missingStore the key via the models page, or provide the referenced environment variable
UNKNOWN_MODELThe requested model is not configuredSelect a configured model, or add the missing model to your custom provider
"Fetch available models" returns 401Wrong key, or the service has no GET /modelsCheck the key; for services without that endpoint, enter models manually
New sessions still use the old modelSessions that already sent requests keep the model recorded in their logSwitch in the model selector; the choice only becomes the default for new sessions
The input shows "Select model" and blocks inputThe saved default points at a deleted providerSelect a model again
Image rejected before sendingThe model does not declare image modalityAdd input: [text, image] to the custom provider's model; DeepSeek's own chat-completions route is text-only and cannot be changed by config
The provider rejects a request with an imageThe model declares an image capability its endpoint does not supportRemove image from the list granting it (the model's input or the route's defaultInput), then start a new session

Port conflicts

SymptomCauseFix
Startup fails immediately with EADDRINUSEThe default port 3080 is already takenPick another port: dsh --profile web --port 8080 (--port belongs to the web app); or free the occupying process first
The actual listening port is unclearWith port 0, the OS assigns the portUse the address the command prints

Workspace

SymptomCauseFix
Session input is disabledNo workspace is selectedClick Select Workspace, add and select the directory where you launched dsh
File read/write is deniedThe operation is outside the sandbox-authorized workspaceMove the target files into the workspace, or adjust the permission preset; avoid over-broad access
Expected files are not foundThe workspace points at the wrong directoryRe-select the correct project directory as the workspace

Permissions and approvals

SymptomCauseFix
Operations keep asking for approvalThe current permission preset asks on each sensitive actionReview the permission preset; keep a level that asks (such as workspace-write) for daily use
Operation denied by the sandbox and cannot escalateA subject must not gain permissions beyond its existing grants (non-escalation)Retry within what the permission preset allows; when genuinely wider access is needed, switch the preset or explicitly approve that call yourself
Restricted sandbox reports SANDBOX_UNAVAILABLEThe environment has no backend for the requested sandboxSwitch to a sandbox mode or preset available in this environment

Build errors

SymptomCauseFix
pnpm run build failsWrong Node version, incomplete install, or an unsynced checkoutConfirm Node ^22.19 or >=24, re-run pnpm install, then retry pnpm run build
Source launch reports a module-resolution errorThe build was not run firstRun pnpm run build before pnpm dsh <args...>; see installation

Still stuck?

If none of the above matches, bring your reproduction steps, Node version and error messages to the community.

On this page