Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Chat freezes after submitting the message

Open artoniaz opened this issue 5 months ago • 7 comments

Describe the bug

I simply add a message to the chat. I get not response. It simplyt freezes. However when I close the chat window and reopen it it shows messages as if notheng ever happened. In LangSmith I see the LLM getting messages and returning output. It seems there is something wrong with frontend.

I get this errors in the console: anifest: Line: 1, column: 1, Syntax error.Understand this error 8VM304 vendor.js:151 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

To Reproduce

This is test message that USUALLY doesn't work. Sometimes everything works fine: martyna, Ze strefy na śląską płyta k003 - 15szt, blat 990#28 mat - 2szt, okleina s5501 22x0,8 - 300mb

Expected behavior

The UI shoud provide a response from LLM

Screenshots

No response

Flow

test agent Agents (1).json

Use Method

None

Flowise Version

cloud, agentflows v2

Operating System

None

Browser

None

Additional context

No response

artoniaz avatar Jul 10 '25 20:07 artoniaz

Fix

  • Fixed EventSource error handling that was crashing the chat

  • Added safe error property access to prevent undefined errors

  • Protected JSON parsing from malformed responses

  • Chat now works reliably without freezing.

naaa760 avatar Jul 11 '25 09:07 naaa760

is this from cloud or self hosted service?

HenryHengZJ avatar Jul 11 '25 09:07 HenryHengZJ

is this from cloud or self hosted service?

Self hosted one! I'm also getting the same problem. Requests to "flowise:3000" is failing. Especially this end point "/api/v1/internal-prediction/" .. I think.. Is there any workaround or fix for now? Should I use different version?

naymintun800 avatar Jul 12 '25 10:07 naymintun800

is this from cloud or self hosted service?

self hosted

naaa760 avatar Jul 12 '25 11:07 naaa760

Same problem for me self hosted

stefanofalasca avatar Jul 16 '25 07:07 stefanofalasca

I still experience the issue. I happens on both local env and cloud, more often on cloud from my experience.

artoniaz avatar Sep 05 '25 06:09 artoniaz

I too am experiencing this issue suddenly. Local env and cloud as well. This is critical. We've had to remove the chatbot from our web app!

pit-crew avatar Oct 27 '25 04:10 pit-crew