You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI model didn't return response - FirebaseError: AI: Error fetching from https://firebasevertexai.googleapis.com/.../gemini-2.5-flash:streamGenerateContent?alt=sse: signal is aborted without reason (AI/error) #9248
"firebase": "^12.2.1" (latest) "@angular": "^20.3.0" (latest)
(no AngularFire)
AI SDK initialized directly via ai = getAI(getApp(), { backend: new VertexAIBackend('global') });
and getGenerativeModel(this.ai, { ... })
Detailed Problem Description
Calling Gemini 2.5 Flash Vertex API streaming didn't return any response and failed after a few minutes with the message signal is aborted without reason (AI/error):
FirebaseError:AI:Error fetching from https://firebasevertexai.googleapis.com/v1beta/projects/<projectId>/locations/global/publishers/google/models/gemini-2.5-flash:streamGenerateContent?alt=sse: signal is aborted without reason (AI/error)
Steps and code to reproduce issue
Transient error, encountered only once so far, maybe cold start issue, succeeded upon retry, so no reproduction.
Additional information
The request & response do show up in the Firebase AI Logic Monitoring dashboard, with status Successful and perhaps unusually low latency (5 seconds), but for some reason the response didn't reach the SDK/app.