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
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
Please do not modify this template :) and fill in all the required fields.
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Go to a chatbot for chatting
and select some document as context(such as a word doc)
ask the bot some questions, and the bot is responding.
ops the whole page is just cleared with only showing "Application error: a client-side exception has occurred (see the browser console for more information)." in the middle of it.
✔️ Expected Behavior
the bot continue responding to the end.
❌ Actual Behavior
the bot just stopped due to page scripts failure.
The text was updated successfully, but these errors were encountered:
To address the client-side exception you're encountering with the Dify chatbot, start by examining the browser console for specific error messages. These messages can offer clues about what's causing the script to fail. Ensure your Dify configuration is correct, particularly that the difyChatbotConfig object is properly set up and that the chatbotUrl is correctly defined.
Verify your Docker setup to ensure it's not restricting network access or interaction with Chrome's storage API, which could affect script execution. Also, review any CORS policies and Content Security Policies (CSP) that might be blocking requests to the chatbot URL from your domain.
Consider updating Dify to the latest version to benefit from any bug fixes or improvements. If problems persist, the specific error messages from the browser console will be crucial for further diagnosis.
For more detailed troubleshooting, refer to Dify's embed.js for embedding the chatbot and error.py for understanding potential exceptions.
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
Cant repro on the latest branch. And we can not infer what's going on based on limited information. Maybe you can provide more details regarding this issue.
Self Checks
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
the bot continue responding to the end.
❌ Actual Behavior
the bot just stopped due to page scripts failure.
The text was updated successfully, but these errors were encountered: