tinyhumansai/openhuman · error
Querit search request failed: {e}
Error message
Querit search request failed: {e} What it means
Transport-failure mapping in QueritTool::execute_with_options: the reqwest POST to the Querit endpoint (with bearer auth) failed at the network layer — DNS failure, connection refused/reset, TLS error, or the configured timeout elapsed. The underlying reqwest error is logged at warn and rewrapped with this message; it is not an HTTP-status failure, which is handled separately as a non-2xx bail.
Source
Thrown at src/openhuman/search/tools/querit.rs:478
tracing::debug!(
query_len = query.chars().count(),
max_results,
timeout_secs = self.timeout_secs,
"[querit] POST {url}"
);
let resp = self
.http_client
.post(&url)
.bearer_auth(api_key)
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.json(&body)
.send()
.await
.map_err(|e| {
tracing::warn!("[querit] request failed: {e}");
anyhow::anyhow!("Querit search request failed: {e}")
})?;
let status = resp.status();
if !status.is_success() {
let body_text = resp.text().await.unwrap_or_default();
tracing::warn!(
status = %status,
body_len = body_text.len(),
"[querit] non-2xx response from Querit"
);
anyhow::bail!("Querit returned non-2xx status {status}");
}
let search_resp = Self::decode_response(resp.json().await.map_err(|e| {
tracing::warn!("[querit] failed to read response JSON: {e}");
anyhow::anyhow!("Failed to read Querit response JSON: {e}")
})?)?;
View on GitHub (pinned to 7491200858)
Solutions
- Check network connectivity and that the Querit endpoint URL is reachable.
- Retry the search; transient network errors often resolve.
- If timeouts recur, increase the tool's configured timeout or check proxy/firewall interference.
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/openhuman/search/tools/querit.rs:478 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/68536164da446b1f.
Report an issue: GitHub.