# Troubleshooting

> What to do when a file seems missing, a command is refused, an editor will not connect over SSH, or an agent's MCP address answers not found.

Source: https://occlude.dev/docs/troubleshooting/ · Reviewed 28 November 2026

Most surprises inside Occlude are the boundary doing its job. This page tells the boundary apart from a fault, and says what to do about each.


## A file I need is not there

Your grant does not cover it: it is *Occluded* or *Absent* for this task. Nothing on your side can tell you which, by design. Ask whoever granted the session to widen it. If they approve, the session reloads with the file in place; your processes keep running.

## Go to Definition opens a file that says the module is protected

That is the declaration standing in for an *Occluded* module. Its signatures are real, so your code compiles and autocompletes against it. The body is not part of your task.

## A command is refused

Only the scripts your profile lists run on the build's side. The refusal names the ones you may run. A script you need that is not listed is a change to the profile; ask the admin.

## A test fails inside a protected module

The failure is past the boundary. The frame in your own file shows which of your lines led there. Fix your side, or hand the failure to the team that owns the module, with the session's record.

## Writing a file says permission denied

The file is *Read-only* for your profile, as package manifests and build configuration usually are. The attempt is recorded. Ask for the change in your pull request's description instead.

## My editor will not connect

| Symptom | Cause and fix |
|---|---|
| `Permission denied (publickey)` | The certificate has expired, the session has ended or been revoked, or the `Host` block points at a different key. Get a new certificate from the session |
| `Host key verification failed` | The `UserKnownHostsFile` line is missing, or points at another session's file. Use the block Occlude gave you for this session |
| The editor's server fails to download | The workspace has no route to the internet. Turn on your editor's local download setting: see its page under [Connect](https://occlude.dev/docs/connect/) |
| The connection drops when the session ends | Expected: the certificate is valid for the session only |
| A warning about agent forwarding | The workspace refuses forwarding of your SSH agent. Add `ForwardAgent no` to the `Host` block |

## The preview does not open

Start the dev server first with `npm run dev`. In an editor over SSH, open the forwarded port your editor shows. In the browser workspace, use the preview pane.

## An agent's MCP address answers not found

Every failure answers the same way, so nothing about the session leaks to a wrong guess: the token is wrong or missing, the session has ended, or the session was started for another door. Check the token variable and that the session is running.

## Still stuck

Write to us at the address at the foot of the page, with the session's id. Never send the token.
