{"record":{"id":"6384a58b9295f942","repo":"tinyhumansai/openhuman","slug":"rpc-http-transport-was-requested-but-this-build-wa","errorCode":null,"errorMessage":"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`","messagePattern":"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`","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/core/runtime/builder.rs","lineNumber":611,"sourceCode":"        {\n            // `rpc_http` was requested (we passed the guard above) but the HTTP +\n            // Socket.IO transport is compiled out of this slim build. Fail loudly\n            // rather than returning Ok with no listener bound — a supervisor / CLI\n            // (`openhuman run`, `serve`, `--headless-api`) would otherwise observe\n            // a clean start while the requested API is unavailable. Embedders that\n            // genuinely want no transport leave `ServiceSet::rpc_http` unset, which\n            // is handled by the early return above.\n            //\n            // The bind inputs are only read by the compiled-out `serve_http`; touch\n            // them so they don't read as dead fields in the slim build.\n            let _ = (\n                ready_tx,\n                shutdown_token,\n                self.has_operator_token,\n                self.host.as_ref(),\n                self.port,\n            );\n            anyhow::bail!(\n                \"rpc_http transport was requested but this build was compiled \\\n                 without the `http-server` feature; rebuild with the default \\\n                 `http-server` feature, or use an embedding that does not set \\\n                 `ServiceSet::rpc_http`\"\n            );\n        }\n\n        #[cfg(feature = \"http-server\")]\n        {\n            self.serve_http(ready_tx, shutdown_token).await\n        }\n    }\n\n    /// HTTP + Socket.IO transport body of [`Self::serve`].\n    ///\n    /// Compiled only under the `http-server` feature (#5048): builds the axum\n    /// router, binds the listener, starts the selected background services, and\n    /// serves until shutdown. With the feature off, [`serve`](Self::serve) runs","sourceCodeStart":593,"sourceCodeEnd":629,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/a221052e0df5b1f7598fceba7329fd1af95d6699/src/core/runtime/builder.rs#L593-L629","documentation":"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.","triggerScenarios":"Thrown at src/core/runtime/builder.rs:611 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a221052e0df5b1f7598fceba7329fd1af95d6699","analyzedAt":"2026-08-16T12:47:06.542Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}