dify 1.7.2 The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. #16836

Closed
opened 2026-02-21 19:28:06 -05:00 by yindo · 0 comments
Owner

Originally created by @mdxlCJ on GitHub (Sep 6, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

2025-09-06T10:39:19.927076917Z return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
2025-09-06T10:39:19.927078510Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-06T10:39:19.927080036Z File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 604, in dispatch_request
2025-09-06T10:39:19.927081728Z resp = meth(*args, **kwargs)
2025-09-06T10:39:19.927083274Z ^^^^^^^^^^^^^^^^^^^^^
2025-09-06T10:39:19.927086372Z File "/app/api/controllers/service_api/wraps.py", line 110, in decorated_view
2025-09-06T10:39:19.927088287Z return view_func(*args, **kwargs)
2025-09-06T10:39:19.927089717Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-06T10:39:19.927090756Z File "/app/api/controllers/service_api/app/completion.py", line 159, in post
2025-09-06T10:39:19.927091921Z raise InternalServerError()
2025-09-06T10:39:19.927093002Z werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
2025-09-06T10:39:20.223366936Z
2025-09-06T10:39:20.223381453Z [on_tool_execution]
2025-09-06T10:39:20.223382992Z Tool: current_time
2025-09-06T10:39:20.223384315Z Outputs: {"type":"text","message":{"text":"2025-09-06 18:39:20"},"meta":null}
2025-09-06T10:39:20.223386032Z
help

✔️ Expected Behavior

fail

Actual Behavior

fail

Originally created by @mdxlCJ on GitHub (Sep 6, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. -- 2025-09-06T10:39:19.927076917Z return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return] 2025-09-06T10:39:19.927078510Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-06T10:39:19.927080036Z File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 604, in dispatch_request 2025-09-06T10:39:19.927081728Z resp = meth(*args, **kwargs) 2025-09-06T10:39:19.927083274Z ^^^^^^^^^^^^^^^^^^^^^ 2025-09-06T10:39:19.927086372Z File "/app/api/controllers/service_api/wraps.py", line 110, in decorated_view 2025-09-06T10:39:19.927088287Z return view_func(*args, **kwargs) 2025-09-06T10:39:19.927089717Z ^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-06T10:39:19.927090756Z File "/app/api/controllers/service_api/app/completion.py", line 159, in post 2025-09-06T10:39:19.927091921Z raise InternalServerError() 2025-09-06T10:39:19.927093002Z werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-09-06T10:39:20.223366936Z 2025-09-06T10:39:20.223381453Z [on_tool_execution] 2025-09-06T10:39:20.223382992Z Tool: current_time 2025-09-06T10:39:20.223384315Z Outputs: {"type":"text","message":{"text":"2025-09-06 18:39:20"},"meta":null} 2025-09-06T10:39:20.223386032Z help ### ✔️ Expected Behavior fail ### ❌ Actual Behavior fail
yindo added the 🐞 bug label 2026-02-21 19:28:06 -05:00
yindo closed this issue 2026-02-21 19:28:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16836