{"record":{"id":"ea9415d7e9ee95d3","repo":"tinyhumansai/openhuman","slug":"invalid-browser-computer-use-endpoint-endpoint","errorCode":null,"errorMessage":"Invalid browser.computer_use.endpoint: '{endpoint}'. Expected http(s) URL","messagePattern":"Invalid browser\\.computer_use\\.endpoint: '(.+?)'\\. Expected http\\(s\\) URL","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/browser.rs","lineNumber":162,"sourceCode":"        }\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);\n        if !self.computer_use.allow_remote_endpoint && !host_is_private {\n            anyhow::bail!(\n                \"browser.computer_use.endpoint host '{host}' is public. Set browser.computer_use.allow_remote_endpoint=true to allow it\"\n            );","sourceCodeStart":144,"sourceCodeEnd":180,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/browser.rs#L144-L180","documentation":"Config validation in computer_use_endpoint_url: the configured browser.computer_use.endpoint does not parse as a URL at all (reqwest::Url::parse failed). Distinct from the sibling checks for empty endpoint, non-http scheme, and missing host — this is the raw-parse failure.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/browser.rs:162 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the endpoint string to a well-formed http(s) URL","Check for typos/missing scheme in the config value","Restart/retry after correcting the config"],"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-14T05:17:10.506Z"}