{"record":{"id":"270ccdc9890407f4","repo":"tinyhumansai/openhuman","slug":"browser-computer-use-endpoint-cannot-be-empty","errorCode":null,"errorMessage":"browser.computer_use.endpoint cannot be empty","messagePattern":"browser\\.computer_use\\.endpoint cannot be empty","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/browser.rs","lineNumber":158,"sourceCode":"                self.native_headless,\n                &self.native_webdriver_url,\n                self.native_chrome_path.as_deref(),\n            )\n        }\n        #[cfg(not(feature = \"browser-native\"))]\n        {\n            false\n        }\n    }\n\n    fn computer_use_endpoint_url(&self) -> anyhow::Result<reqwest::Url> {\n        if self.computer_use.timeout_ms == 0 {\n            anyhow::bail!(\"browser.computer_use.timeout_ms must be > 0\");\n        }\n\n        let endpoint = self.computer_use.endpoint.trim();\n        if endpoint.is_empty() {\n            anyhow::bail!(\"browser.computer_use.endpoint cannot be empty\");\n        }\n\n        let parsed = reqwest::Url::parse(endpoint).map_err(|_| {\n            anyhow::anyhow!(\n                \"Invalid browser.computer_use.endpoint: '{endpoint}'. Expected http(s) URL\"\n            )\n        })?;\n\n        let scheme = parsed.scheme();\n        if scheme != \"http\" && scheme != \"https\" {\n            anyhow::bail!(\"browser.computer_use.endpoint must use http:// or https://\");\n        }\n\n        let host = parsed\n            .host_str()\n            .ok_or_else(|| anyhow::anyhow!(\"browser.computer_use.endpoint must include host\"))?;\n\n        let host_is_private = is_private_host(host);","sourceCodeStart":140,"sourceCodeEnd":176,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/browser.rs#L140-L176","documentation":"computer_use_endpoint_url rejects an empty (after trim) browser.computer_use.endpoint. The computer-use backend cannot be reached without an endpoint URL, so backend resolution fails early with a config-fix message rather than a network error later.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/browser.rs:158 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set browser.computer_use.endpoint to the sidecar's http(s) URL in config.toml.","Start the computer-use sidecar and record its address."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}