Problem
Multiple Google-based providers are failing with authentication errors and extreme request timeouts.
Affected Providers
All Google providers are failing:
google (Gemini)
google-antigravity (Claude via Google OAuth)
google-gemini-cli
google-vertex
github-copilot (Claude via GitHub)
Error Analysis
1. Missing API Keys
FailoverError: No API key found for provider "google-antigravity".
Auth store: ~/.openclaw/agents/main/agent/auth-profiles.json
All Google providers show this error despite:
Plugins enabled in config (google-antigravity-auth, google-gemini-cli-auth)
Config reload triggered
2. Extreme LLM Request Timeouts
2026-02-02T23:57:31.197Z [diagnostic] lane task error: durationMs=724391
error="FailoverError: LLM request timed out."
2026-02-03T00:47:42.218Z [diagnostic] lane task error: durationMs=1001984
error="FailoverError: LLM request timed out."
2026-02-03T01:11:09.197Z [diagnostic] lane task error: durationMs=1406944
error="FailoverError: LLM request timed out."
Timeout durations:
724s (12 minutes)
1001s (16.7 minutes)
1406s (23.4 minutes)
This suggests requests are hanging rather than failing fast.
3. Google OAuth Cookie Error
Permita que o Google Planilhas acesse os cookies necessários
Não é possível acessar sua Conta do Google
Não é possível acessar o conteúdo no momento. Faça login na sua Conta do Google ou permita o acesso a cookies para continuar.
This appears in logs, suggesting OAuth flow is attempting browser-based auth but hitting cookie restrictions.
Configuration
openclaw.json
{
"plugins" : {
"entries" : {
"google-antigravity-auth" : {
"enabled" : true
},
"google-gemini-cli-auth" : {
"enabled" : true
}
}
},
"agents" : {
"defaults" : {
"model" : {
"fallbacks" : [
" google/gemini-3-pro-preview" ,
" google/gemini-3-flash-preview" ,
" google-antigravity/claude-opus-4-5-thinking" ,
" google-antigravity/claude-sonnet-4-5-thinking"
]
}
}
}
}
auth-profiles.json
{
"profiles" : {
"openai-codex:default" : { ... }, // Works
"anthropic:default" : { ... } // Has issues (see #9095)
// No Google profiles!
}
}
Root Causes
1. Google Provider Authentication Not Completing
Plugins are enabled but authentication never completes:
No Google profiles in auth-profiles.json
openclaw configure doesn't seem to set up Google auth
OAuth flow may require browser interaction (cookie error suggests this)
2. No Timeout Configuration
Request timeouts exceed 20 minutes before failing:
Should fail fast (30-120s) instead of hanging
No configurable timeout for LLM requests
Blocks entire failover chain
3. Cookie-Based OAuth Incompatible with Headless
Google OAuth appears to require browser cookies:
OpenClaw runs headless (LaunchAgent/daemon)
Can't complete browser-based OAuth flows
Needs API key or service account auth instead
Impact
Severity: High
When primary model (OpenAI Codex) fails:
Tries Anthropic models → fails (issue [Bug] Anthropic OAuth authentication fails with HTTP 401 invalid bearer token #9095 )
Tries Google models → hangs for 20+ minutes
Eventually fails with "All models failed"
Total service outage
Expected Behavior
Fast Failure: Timeout after 30-120s, not 1400s
Clear Auth Setup: openclaw configure should guide Google auth
Service Accounts: Support Google service account JSON for headless auth
Fallback: Skip unconfigured providers instead of hanging
Suggested Fixes
Short-term
Add configurable request timeout (default 120s)
Skip providers with no auth profile (don't attempt)
Add warning on startup: "Google providers configured but not authenticated"
Long-term
Implement Google service account auth (JSON key file)
Add Google OAuth device flow (no browser needed)
Better fallback chain management (skip known-broken providers)
Reproduction
Configure OpenClaw with Google providers in fallback chain
Don't configure Google auth
Trigger failover (disable OpenAI Codex)
Observe 20+ minute hang before failure
Environment
OpenClaw: 2026.2.2-3
OS: macOS
Google plugins: google-antigravity-auth, google-gemini-cli-auth (enabled)
Auth profiles: Only OpenAI Codex configured
Related Issues
Logs
Error samples
2026-02-02T23:57:31.218Z [diagnostic] lane task error: lane=main durationMs=0
error="FailoverError: No API key found for provider \"google-antigravity\".
Auth store: /Users/nikolas/.openclaw/agents/main/agent/auth-profiles.json"
2026-02-03T01:26:15.186Z [diagnostic] lane task error: lane=main durationMs=905987
error="FailoverError: LLM request timed out."
Problem
Multiple Google-based providers are failing with authentication errors and extreme request timeouts.
Affected Providers
All Google providers are failing:
google(Gemini)google-antigravity(Claude via Google OAuth)google-gemini-cligoogle-vertexgithub-copilot(Claude via GitHub)Error Analysis
1. Missing API Keys
All Google providers show this error despite:
google-antigravity-auth,google-gemini-cli-auth)2. Extreme LLM Request Timeouts
Timeout durations:
This suggests requests are hanging rather than failing fast.
3. Google OAuth Cookie Error
This appears in logs, suggesting OAuth flow is attempting browser-based auth but hitting cookie restrictions.
Configuration
openclaw.json
{ "plugins": { "entries": { "google-antigravity-auth": { "enabled": true }, "google-gemini-cli-auth": { "enabled": true } } }, "agents": { "defaults": { "model": { "fallbacks": [ "google/gemini-3-pro-preview", "google/gemini-3-flash-preview", "google-antigravity/claude-opus-4-5-thinking", "google-antigravity/claude-sonnet-4-5-thinking" ] } } } }auth-profiles.json
{ "profiles": { "openai-codex:default": { ... }, // Works "anthropic:default": { ... } // Has issues (see #9095) // No Google profiles! } }Root Causes
1. Google Provider Authentication Not Completing
Plugins are enabled but authentication never completes:
auth-profiles.jsonopenclaw configuredoesn't seem to set up Google auth2. No Timeout Configuration
Request timeouts exceed 20 minutes before failing:
3. Cookie-Based OAuth Incompatible with Headless
Google OAuth appears to require browser cookies:
Impact
Severity: High
When primary model (OpenAI Codex) fails:
Expected Behavior
openclaw configureshould guide Google authSuggested Fixes
Short-term
Long-term
Reproduction
Environment
google-antigravity-auth,google-gemini-cli-auth(enabled)Related Issues
Logs
Error samples