zed-industries/zed · error

not an ssh project

Error message

not an ssh project

What it means

In Project::open_server_settings: the operation requires the project to be an SSH remote project (to read server-side settings), but the guard finds it is not, so the request is rejected with 'not an ssh project'.

Solutions

  1. Open the project over SSH first
  2. Use the local equivalent of the operation
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at crates/project/src/project.rs:4500 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zed-industries/zed@9d272b0363 (2026-08-20). Data as JSON: /api/errors/19e77f4e6f89a0e2. Report an issue: GitHub.

Appendix: source

Thrown at crates/project/src/project.rs:4543

        item: CallHierarchyItem,
        cx: &mut Context<Self>,
    ) -> Task<Result<Option<Vec<IncomingCall>>>> {
        let guard = self.retain_remotely_created_models(cx);
        let task = self
            .lsp_store
            .update(cx, |lsp_store, cx| lsp_store.incoming_calls(item, cx));
        cx.background_spawn(async move {
            let result = task.await;
            drop(guard);
            result
        })
    }

    pub fn outgoing_calls(
        &mut self,
        item: CallHierarchyItem,
        cx: &mut Context<Self>,
    ) -> Task<Result<Option<Vec<OutgoingCall>>>> {
        let guard = self.retain_remotely_created_models(cx);
        let task = self
            .lsp_store
            .update(cx, |lsp_store, cx| lsp_store.outgoing_calls(item, cx));
        cx.background_spawn(async move {
            let result = task.await;
            drop(guard);
            result
        })
    }

    pub fn document_highlights<T: ToPointUtf16>(
        &mut self,
        buffer: &Entity<Buffer>,
        position: T,
        cx: &mut Context<Self>,
    ) -> Task<Result<Vec<DocumentHighlight>>> {
        let position = position.to_point_utf16(buffer.read(cx));

View on GitHub (pinned to 9d272b0363)