firecrawl / firecrawl/open-lovable

can not use Gemini

Open
#66 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

log shows me this :

[generate-ai-code-stream] Starting streaming response...

GET /service-worker.js 404 in 119ms
[Error [AI_RetryError]: Failed after 3 attempts. Last error: Cannot connect to API: Connect Timeout Error (attempted addresses: 2404:6800:4012:7::200a:443, 142.250.198.74:443, 2404:6800:4012:8::200a:443, 142.250.196.202:443, 2404:6800:4012:6::200a:443, 142.250.204.42:443, 2404:6800:4012:5::200a:443, timeout: 10000ms)] {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: [Error [AI_APICallError]: Cannot connect to API: Connect Timeout Error (attempted addresses: 2404:6800:4012:7::200a:443, 142.250.198.74:443, 2404:6800:4012:8::200a:443, 142.250.196.202:443, 2404:6800:4012:6::200a:443, 142.250.204.42:443, 2404:6800:4012:5::200a:443, timeout: 10000ms)] {
url: 'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse',
requestBodyValues: {
generationConfig: [Object],
contents: [Array],
systemInstruction: [Object],
safetySettings: undefined,
tools: undefined,
toolConfig: undefined,
cachedContent: undefined,
labels: undefined
},
statusCode: undefined,
responseHeaders: undefined,
responseBody: undefined,
isRetryable: true,
data: undefined,
[cause]: [Error [ConnectTimeoutError]: Connect Timeout Error (attempted addresses: 2404:6800:4012:7::200a:443, 142.250.198.74:443, 2404:6800:4012:8::200a:443, 142.250.196.202:443, 2404:6800:4012:6::200a:443, 142.250.204.42:443, 2404:6800:4012:5::200a:443, timeout: 10000ms)] {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Gemini request shown in the logs and inspect how the application calls https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse. Determine whether the connection timeout comes from the application configuration or the runtime environment. Done means Gemini requests complete successfully or the issue documents a confirmed external connectivity limitation and an actionable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.