tinyhumansai/openhuman · error
failed to build Querit HTTP client
Error message
failed to build Querit HTTP client
What it means
Panic payload on the Querit search tool's one-shot client build in with_name(): tls_client_builder() (platform TLS) plus http1_only, request and 10s connect timeouts failed at build(). All inputs are constants or sanitized config, so this fires only on environment-level TLS/proxy failure; raised during tool construction, aborting the search tool.
Source
Thrown at src/openhuman/search/tools/querit.rs:115
max_results,
timeout_secs,
)
}
fn with_name(
tool_name: &'static str,
api_key: Option<String>,
api_url: Option<String>,
max_results: usize,
timeout_secs: u64,
) -> Self {
let timeout = timeout_secs.max(1);
let http_client = crate::openhuman::util::tls::tls_client_builder()
.http1_only()
.timeout(Duration::from_secs(timeout))
.connect_timeout(Duration::from_secs(10))
.build()
.expect("failed to build Querit HTTP client");
Self {
tool_name,
api_key,
api_url: api_url.unwrap_or_else(|| DEFAULT_API_URL.to_string()),
max_results: max_results.clamp(1, 20),
timeout_secs: timeout,
http_client,
}
}
fn render_results_plain(&self, results: &[QueritResultItem], query: &str) -> String {
if results.is_empty() {
return format!("No results found for: {}", query);
}
let mut lines = vec![format!("Search results for: {} (via Querit)", query)];
for (i, item) in results.iter().take(self.max_results).enumerate() {View on GitHub (pinned to 7491200858)
Solutions
- Verify the platform TLS backend compiled in (util::tls selection)
- Check proxy environment/configuration for malformed entries
- Convert to Result-returning construction so the tool can be skipped instead of panicking
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at src/openhuman/search/tools/querit.rs:115 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/b76767290a6c6b9b.
Report an issue: GitHub.