atuinsh/atuin · error
Authentication timed out. Please try again.
Error message
Authentication timed out. Please try again.
What it means
Error "Authentication timed out. Please try again." thrown in atuinsh/atuin.
Source
Thrown at crates/atuin-client/src/hub.rs:158
}
/// Poll until completion or timeout
///
/// This is a convenience method that polls repeatedly until the auth completes
/// or times out.
pub async fn wait_for_completion(
&self,
timeout: Duration,
poll_interval: Duration,
) -> Result<String> {
let start = std::time::Instant::now();
debug!("Polling for Hub authentication completion...");
loop {
if start.elapsed() > timeout {
warn!("Authentication loop exited due to timeout");
bail!("Authentication timed out. Please try again.");
}
match self.poll().await? {
HubAuthStatus::Complete(token) => return Ok(token),
HubAuthStatus::Failed(error) => {
bail!("Authentication failed: {}", error);
}
HubAuthStatus::Pending => {
tokio::time::sleep(poll_interval).await;
}
}
}
}
}
/// Save a hub session token
///
/// This saves the token to the meta store so it can be used for subsequent Hub API calls.View on GitHub (pinned to 15fe1318f1)
Solutions
- Complete the browser authentication promptly and try again.
When it happens
Trigger: Fires when the Hub authentication flow does not complete within the allowed time window.
Common situations: See trigger scenarios.
Understand the failure class
- Timeouts: ETIMEDOUT, deadlines, and hung requests — what actually expires when a request times out.
- Authentication and authorization failures — expired tokens, bad credentials, and missing scopes.
AI-assisted analysis of atuinsh/atuin@15fe1318f1 (2026-08-19).
Data as JSON: /api/errors/a929ce238a2684fc.
Report an issue: GitHub.