zellij-org/zellij · error

failed to receive event on channel

Error message

failed to receive event on channel

What it means

Error "failed to receive event on channel" thrown in zellij-org/zellij.

Solutions

  1. The receiving end has shut down; ensure the component is alive before sending.
  2. Treat this as a shutdown race; retry after restart or report if reproducible.

When it happens

Trigger: Occurs at zellij-server/src/plugins/mod.rs:348 when the operation fails: "failed to receive event on channel". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.

Common situations: Typically happens during shutdown or crash of a companion thread.


AI-assisted analysis of zellij-org/zellij@e839bfffa5 (2026-08-19). Data as JSON: /api/errors/17d28eec46c270b7. Report an issue: GitHub.

Appendix: source

Thrown at zellij-server/src/plugins/mod.rs:348

        layout_dir,
        available_layouts,
        available_layout_errors,
        default_mode,
        default_keybinds,
    );

    for run_plugin_or_alias in background_plugins {
        load_background_plugin(
            run_plugin_or_alias,
            &mut wasm_bridge,
            &bus,
            &plugin_aliases,
            initiating_client_id,
        );
    }

    loop {
        let (event, mut err_ctx) = bus.recv().expect("failed to receive event on channel");
        err_ctx.add_call(ContextType::Plugin((&event).into()));
        match event {
            PluginInstruction::Load(
                should_float,
                should_be_open_in_place,
                close_replaced_pane,
                pane_title,
                mut run_plugin_or_alias,
                tab_index,
                pane_id_to_replace,
                client_id,
                size,
                cwd,
                focused_plugin_id,
                skip_cache,
                should_focus_plugin,
                floating_pane_coordinates,
                completion_tx,

View on GitHub (pinned to e839bfffa5)