tinyhumansai/openhuman · error

browser.computer_use.timeout_ms must be > 0

Error message

browser.computer_use.timeout_ms must be > 0

What it means

computer_use_endpoint_url validates the computer-use sidecar configuration and rejects timeout_ms == 0, since a zero timeout would make every sidecar HTTP call fail instantly. It fires at backend resolution when browser.computer_use.timeout_ms in config.toml is unset/zero.

Source

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

    fn rust_native_available(&self) -> bool {
        #[cfg(feature = "browser-native")]
        {
            native_backend::NativeBrowserState::is_available(
                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://");
        }

View on GitHub (pinned to 7491200858)

Solutions

  1. Set browser.computer_use.timeout_ms to a positive millisecond value in config.toml.
  2. Remove the zero override so the default timeout applies.
Defensive patterns

Strategy: validation

When it happens

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

Common situations: See trigger scenarios.

Understand the failure class


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