-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suddenly refresh the page during the chat and ask again for an error #13750
Comments
Hey @xingwenkai! 👋 I'm here to help you with bugs, questions, and becoming a contributor. Feel free to ask for assistance while waiting for a human maintainer. The issue you're experiencing with the blank chat box and the "Request param content len should not be 0" error after a page refresh is likely related to session management and input validation in Dify.
To resolve the issue, you may need to check the implementation of how the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
I deployed it using docker, how should I manage conversation_id |
To manage
Avoid using custom or user-defined To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
But I didn't use his api, I just ran it, all the chats are based on their own pages, and I can't capture the conversation_id |
Self Checks
Dify version
main
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When the chat assistant asks the model, the model gives a reply and suddenly refreshes the page. At this time, there will be a blank chat box (if the knowledge base is mounted, there will still be a knowledge base file under the blank chat box). At this time, ask the model again and an error will be reported
✔️ Expected Behavior
If you suddenly refresh the page, the blank chat box will not appear
❌ Actual Behavior
When the chat assistant asks the model, the model gives a reply and suddenly refreshes the page. At this time, there will be a blank chat box (if the knowledge base is mounted, there will still be a knowledge base file under the blank chat box). At this time, ask the model again and an error will be reported
The text was updated successfully, but these errors were encountered: