dify icon indicating copy to clipboard operation
dify copied to clipboard

在打开的dify项目页面,选择监测进行WebApp 设置时,保存就会出现以下这个错误:Internal Server Error

Open BannyLon opened this issue 11 months ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

V1.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

在打开的dify项目页面,选择监测进行WebApp 设置时,保存就会出现以下这个错误:Internal Server Error

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

BannyLon avatar Mar 05 '25 13:03 BannyLon

There is a known issue in Dify v1.0.0 related to encountering an "Internal Server Error" when saving WebApp settings, especially in self-hosted Docker installations. This error is associated with a SQLAlchemy session management issue, specifically a DetachedInstanceError. Despite the error message, the changes are still successfully applied. This issue has been addressed in a later update through PR #14700. To resolve this, you should update your Dify installation to the version containing this fix [1][2].

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

dosubot[bot] avatar Mar 05 '25 13:03 dosubot[bot]