Chat freezes after submitting the message
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
Use Method
None
Flowise Version
cloud, agentflows v2
Operating System
None
Browser
None
Additional context
No response
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.
is this from cloud or self hosted service?
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?
is this from cloud or self hosted service?
self hosted
Same problem for me self hosted
I still experience the issue. I happens on both local env and cloud, more often on cloud from my experience.
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!