tinyhumansai/openhuman · error · anyhow::Error
rpc_http transport was requested but this build was compiled
Error message
rpc_http transport was requested but this build was compiled without the `http-server` feature; rebuild with the default `http-server` feature, or use an embedding that does not set `ServiceSet::rpc_http`
What it means
Error "rpc_http transport was requested but this build was compiled without the `http-server` feature; rebuild with the default `http-server` feature, or use an embedding that does not set `ServiceSet::rpc_http`" thrown in tinyhumansai/openhuman.
Source
Thrown at src/core/runtime/builder.rs:611
{
// `rpc_http` was requested (we passed the guard above) but the HTTP +
// Socket.IO transport is compiled out of this slim build. Fail loudly
// rather than returning Ok with no listener bound — a supervisor / CLI
// (`openhuman run`, `serve`, `--headless-api`) would otherwise observe
// a clean start while the requested API is unavailable. Embedders that
// genuinely want no transport leave `ServiceSet::rpc_http` unset, which
// is handled by the early return above.
//
// The bind inputs are only read by the compiled-out `serve_http`; touch
// them so they don't read as dead fields in the slim build.
let _ = (
ready_tx,
shutdown_token,
self.has_operator_token,
self.host.as_ref(),
self.port,
);
anyhow::bail!(
"rpc_http transport was requested but this build was compiled \
without the `http-server` feature; rebuild with the default \
`http-server` feature, or use an embedding that does not set \
`ServiceSet::rpc_http`"
);
}
#[cfg(feature = "http-server")]
{
self.serve_http(ready_tx, shutdown_token).await
}
}
/// HTTP + Socket.IO transport body of [`Self::serve`].
///
/// Compiled only under the `http-server` feature (#5048): builds the axum
/// router, binds the listener, starts the selected background services, and
/// serves until shutdown. With the feature off, [`serve`](Self::serve) runsView on GitHub (pinned to a221052e0d)
When it happens
Trigger: Thrown at src/core/runtime/builder.rs:611 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@a221052e0d (2026-08-16).
Data as JSON: /api/errors/6384a58b9295f942.
Report an issue: GitHub.