[GH-ISSUE #3582] [BUG]: An error occurred while streaming response. network error #5558

Closed
opened 2026-06-07 16:28:17 -04:00 by yindo · 3 comments
Owner

Originally created by @DangerousBerries on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3582

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

[backend] error: Error: [GoogleGenerativeAI Error]: Failed to parse stream
at /app/server/node_modules/@google/generative-ai/dist/index.js:582:46
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Originally created by @DangerousBerries on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3582 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? > [backend] error: Error: [GoogleGenerativeAI Error]: Failed to parse stream > at /app/server/node_modules/@google/generative-ai/dist/index.js:582:46 > at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
yindo added the possible buginvestigating labels 2026-06-07 16:28:17 -04:00
yindo closed this issue 2026-06-07 16:28:17 -04:00
Author
Owner

@timothycarambat commented on GitHub (Apr 3, 2025):

What specific Gemini model are you using? Likely the culprit

<!-- gh-comment-id:2777266071 --> @timothycarambat commented on GitHub (Apr 3, 2025): What specific Gemini model are you using? Likely the culprit
Author
Owner

@DangerousBerries commented on GitHub (Apr 4, 2025):

What specific Gemini model are you using? Likely the culprit

gemini-2.5-pro-exp-03-25. It doesn't happen all the time.

<!-- gh-comment-id:2777549050 --> @DangerousBerries commented on GitHub (Apr 4, 2025): > What specific Gemini model are you using? Likely the culprit gemini-2.5-pro-exp-03-25. It doesn't happen all the time.
Author
Owner

@shatfield4 commented on GitHub (Apr 4, 2025):

I cannot replicate this after sending many chats to Gemini using that model.

gemini-2.5-pro-exp-03-25 is marked as an experimental model so this most likely caused by an issue on Gemini's end.

<!-- gh-comment-id:2779546211 --> @shatfield4 commented on GitHub (Apr 4, 2025): I cannot replicate this after sending many chats to Gemini using that model. `gemini-2.5-pro-exp-03-25` is marked as an experimental model so this most likely caused by an issue on Gemini's end.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5558