tinyhumansai/openhuman · error

browser.computer_use.endpoint cannot be empty

Error message

browser.computer_use.endpoint cannot be empty

What it means

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.

Source

Thrown at src/openhuman/tools/impl/browser/browser.rs:158

                self.native_headless,
                &self.native_webdriver_url,
                self.native_chrome_path.as_deref(),
            )
        }
        #[cfg(not(feature = "browser-native"))]
        {
            false
        }
    }

    fn computer_use_endpoint_url(&self) -> anyhow::Result<reqwest::Url> {
        if self.computer_use.timeout_ms == 0 {
            anyhow::bail!("browser.computer_use.timeout_ms must be > 0");
        }

        let endpoint = self.computer_use.endpoint.trim();
        if endpoint.is_empty() {
            anyhow::bail!("browser.computer_use.endpoint cannot be empty");
        }

        let parsed = reqwest::Url::parse(endpoint).map_err(|_| {
            anyhow::anyhow!(
                "Invalid browser.computer_use.endpoint: '{endpoint}'. Expected http(s) URL"
            )
        })?;

        let scheme = parsed.scheme();
        if scheme != "http" && scheme != "https" {
            anyhow::bail!("browser.computer_use.endpoint must use http:// or https://");
        }

        let host = parsed
            .host_str()
            .ok_or_else(|| anyhow::anyhow!("browser.computer_use.endpoint must include host"))?;

        let host_is_private = is_private_host(host);

View on GitHub (pinned to 7491200858)

Solutions

  1. Set browser.computer_use.endpoint to the sidecar's http(s) URL in config.toml.
  2. Start the computer-use sidecar and record its address.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/tools/impl/browser/browser.rs:158 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/270ccdc9890407f4. Report an issue: GitHub.