Word文档批注插件运行报错 #939

Closed
opened 2026-02-16 10:21:03 -05:00 by yindo · 2 comments
Owner

Originally created by @AI-Hao07 on GitHub (Jan 17, 2026).

Self Checks

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

Dify version

v1.11.1

Plugin version

word工具

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

word文档进行批注时,文档过大,执行到5min就会报错。5min内能够正常运行。

✔️ Error log

`
2026-01-17 04:40:57.927 ERROR [GraphWorker-0] [base.py:156] - Stream request to Plugin Daemon Service failed
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
yield
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc from None
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
response = connection.handle_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request
return self._connection.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request
raise exc
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request
) = self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers
event = self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event
data = self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read
with map_exceptions(exc_map):
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
self.gen.throw(value)
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request
with httpx.stream(**stream_kwargs) as response:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream
with client.stream(
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream
response = self.send(
^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
with map_httpcore_exceptions():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
self.gen.throw(value)
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: timed out
2026-01-17 04:40:57.930 ERROR [GraphWorker-0] [node.py:329] - Node 1766391460438 failed to run
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
yield
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc from None
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
response = connection.handle_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request
return self._connection.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request
raise exc
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request
) = self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers
event = self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event
data = self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read
with map_exceptions(exc_map):
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
self.gen.throw(value)
File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request
with httpx.stream(**stream_kwargs) as response:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream
with client.stream(
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream
response = self.send(
^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
with map_httpcore_exceptions():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
self.gen.throw(value)
File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/api/core/workflow/nodes/base/node.py", line 319, in run
for event in result:
^^^^^^
File "/app/api/core/workflow/nodes/tool/tool_node.py", line 132, in _run
_ = yield from self._transform_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/workflow/nodes/tool/tool_node.py", line 251, in _transform_message
for message in message_stream:
^^^^^^^^^^^^^^
File "/app/api/core/tools/utils/message_transformer.py", line 67, in transform_tool_invoke_messages
for message in messages:
^^^^^^^^
File "/app/api/core/callback_handler/workflow_tool_callback_handler.py", line 21, in on_tool_execution
for tool_output in tool_outputs:
^^^^^^^^^^^^
File "/app/api/core/tools/plugin_tool/tool.py", line 36, in _invoke
yield from manager.invoke(
File "/app/api/core/plugin/utils/chunk_merger.py", line 50, in merge_blob_chunks
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 256, in _request_with_plugin_daemon_response_stream
for line in self._stream_request(method, path, params, headers, data, files):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 157, in _stream_request
raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed")
core.plugin.entities.plugin_daemon.PluginDaemonInnerError
2026-01-17 04:40:57.933 ERROR [GraphDispatcher] [error_handler.py:101] - Node 1766391460438 failed with ABORT strategy:
2026-01-17 04:40:58.039 ERROR [Thread-63 (_generate_worker)] [workflow_entry.py:111] - Unknown Error when workflow entry running
Traceback (most recent call last):
File "/app/api/core/workflow/workflow_entry.py", line 107, in run
yield from generator
File "/app/api/core/workflow/graph_engine/graph_engine.py", line 270, in run
raise self._graph_execution.error
RuntimeError
`

Originally created by @AI-Hao07 on GitHub (Jan 17, 2026). ### Self Checks - [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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version v1.11.1 ### Plugin version word工具 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce word文档进行批注时,文档过大,执行到5min就会报错。5min内能够正常运行。 ### ✔️ Error log ` 2026-01-17 04:40:57.927 ERROR [GraphWorker-0] [base.py:156] - Stream request to Plugin Daemon Service failed Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions yield File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event data = self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout: timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request with httpx.stream(**stream_kwargs) as response: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream with client.stream( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream response = self.send( ^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout: timed out 2026-01-17 04:40:57.930 ERROR [GraphWorker-0] [node.py:329] - Node 1766391460438 failed to run Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions yield File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event data = self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout: timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request with httpx.stream(**stream_kwargs) as response: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream with client.stream( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream response = self.send( ^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/api/core/workflow/nodes/base/node.py", line 319, in run for event in result: ^^^^^^ File "/app/api/core/workflow/nodes/tool/tool_node.py", line 132, in _run _ = yield from self._transform_message( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/workflow/nodes/tool/tool_node.py", line 251, in _transform_message for message in message_stream: ^^^^^^^^^^^^^^ File "/app/api/core/tools/utils/message_transformer.py", line 67, in transform_tool_invoke_messages for message in messages: ^^^^^^^^ File "/app/api/core/callback_handler/workflow_tool_callback_handler.py", line 21, in on_tool_execution for tool_output in tool_outputs: ^^^^^^^^^^^^ File "/app/api/core/tools/plugin_tool/tool.py", line 36, in _invoke yield from manager.invoke( File "/app/api/core/plugin/utils/chunk_merger.py", line 50, in merge_blob_chunks for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 256, in _request_with_plugin_daemon_response_stream for line in self._stream_request(method, path, params, headers, data, files): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 157, in _stream_request raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed") core.plugin.entities.plugin_daemon.PluginDaemonInnerError 2026-01-17 04:40:57.933 ERROR [GraphDispatcher] [error_handler.py:101] - Node 1766391460438 failed with ABORT strategy: 2026-01-17 04:40:58.039 ERROR [Thread-63 (_generate_worker)] [workflow_entry.py:111] - Unknown Error when workflow entry running Traceback (most recent call last): File "/app/api/core/workflow/workflow_entry.py", line 107, in run yield from generator File "/app/api/core/workflow/graph_engine/graph_engine.py", line 270, in run raise self._graph_execution.error RuntimeError `
yindo added the bug label 2026-02-16 10:21:03 -05:00
yindo closed this issue 2026-02-16 10:21:03 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 17, 2026):

你的问题是由于默认的插件守护进程(Plugin Daemon)超时时间设置为 5 分钟(300 秒),大文件批注时处理时间超过了这个限制,导致 httpx.ReadTimeout 报错。你可以通过以下方式解决:

  1. .env 文件或 docker-compose.yaml 的 API 服务环境变量中增加或修改:

    PLUGIN_DAEMON_TIMEOUT=1200
    PLUGIN_MAX_EXECUTION_TIMEOUT=1800
    HTTP_REQUEST_MAX_READ_TIMEOUT=1800
    HTTP_REQUEST_MAX_WRITE_TIMEOUT=1800
    

    (单位为秒,可根据实际需要调整更大)

  2. 保存后,重启所有 Dify 相关的 Docker 容器让配置生效。

  3. 如果依然报错,检查你的反向代理(如 Nginx)、Docker 网络等是否有其它超时限制。

参考:官方讨论与配置说明
如需处理更大文件,建议监控服务器资源,必要时可将文档拆分处理。

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 17, 2026): <!-- Answer --> 你的问题是由于默认的插件守护进程(Plugin Daemon)超时时间设置为 5 分钟(300 秒),大文件批注时处理时间超过了这个限制,导致 httpx.ReadTimeout 报错。你可以通过以下方式解决: 1. 在 `.env` 文件或 `docker-compose.yaml` 的 API 服务环境变量中增加或修改: ``` PLUGIN_DAEMON_TIMEOUT=1200 PLUGIN_MAX_EXECUTION_TIMEOUT=1800 HTTP_REQUEST_MAX_READ_TIMEOUT=1800 HTTP_REQUEST_MAX_WRITE_TIMEOUT=1800 ``` (单位为秒,可根据实际需要调整更大) 2. 保存后,重启所有 Dify 相关的 Docker 容器让配置生效。 3. 如果依然报错,检查你的反向代理(如 Nginx)、Docker 网络等是否有其它超时限制。 参考:[官方讨论与配置说明](https://github.com/langgenius/dify/discussions/28790) 如需处理更大文件,建议监控服务器资源,必要时可将文档拆分处理。 <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2927e5e0-2919-4921-ae71-ecc47e098eba?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=%E4%BD%A0%E7%9A%84%E9%97%AE%E9%A2%98%E6%98%AF%E7%94%B1%E4%BA%8E%E9%BB%98%E8%AE%A4%E7%9A%84%E6%8F%92%E4%BB%B6%E5%AE%88%E6%8A%A4%E8%BF%9B%E7%A8%8B%EF%BC%88Plugin%20Daemon%EF%BC%89%E8%B6%85%E6%97%B6%E6%97%B6%E9%97%B4%E8%AE%BE%E7%BD%AE%E4%B8%BA%205%20%E5%88%86%E9%92%9F%EF%BC%88300%20%E7%A7%92%EF%BC%89%EF%BC%8C%E5%A4%A7%E6%96%87%E4%BB%B6%E6%89%B9%E6%B3%A8%E6%97%B6%E5%A4%84%E7%90%86%E6%97%B6%E9%97%B4%E8%B6%85%E8%BF%87%E4%BA%86%E8%BF%99%E4%B8%AA%E9%99%90%E5%88%B6%EF%BC%8C%E5%AF%BC%E8%87%B4%20httpx.ReadTimeout%20%E6%8A%A5%E9%94%99%E3%80%82%E4%BD%A0%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%E4%BB%A5%E4%B8%8B%E6%96%B9%E5%BC%8F%E8%A7%A3%E5%86%B3%EF%BC%9A%0A%0A1.%20%E5%9C%A8%20%60.env%60%20%E6%96%87%E4%BB%B6%E6%88%96%20%60docker-compose.yaml%60%20%E7%9A%84%20API%20%E6%9C%8D%E5%8A%A1%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E4%B8%AD%E5%A2%9E%E5%8A%A0%E6%88%96%E4%BF%AE%E6%94%B9%EF%BC%9A%0A%20%20%20%60%60%60%0A%20%20%20PLUGIN_DAEMON_TIMEOUT%3D1200%0A%20%20%20PLUGIN_MAX_EXECUTION_TIMEOUT%3D1800%0A%20%20%20HTTP_REQUEST_MAX_READ_TIMEOUT%3D1800%0A%20%20%20HTTP_REQUEST_MAX_WRITE_TIMEOUT%3D1800%0A%20%20%20%60%60%60%0A%20%20%20%EF%BC%88%E5%8D%95%E4%BD%8D%E4%B8%BA%E7%A7%92%EF%BC%8C%E5%8F%AF%E6%A0%B9%E6%8D%AE%E5%AE%9E%E9%99%85%E9%9C%80%E8%A6%81%E8%B0%83%E6%95%B4%E6%9B%B4%E5%A4%A7%EF%BC%89%0A%0A2.%20%E4%BF%9D%E5%AD%98%E5%90%8E%EF%BC%8C%E9%87%8D%E5%90%AF%E6%89%80%E6%9C%89%20Dify%20%E7%9B%B8%E5%85%B3%E7%9A%84%20Docker%20%E5%AE%B9%E5%99%A8%E8%AE%A9%E9%85%8D%E7%BD%AE%E7%94%9F%E6%95%88%E3%80%82%0A%0A3.%20%E5%A6%82%E6%9E%9C%E4%BE%9D%E7%84%B6%E6%8A%A5%E9%94%99%EF%BC%8C%E6%A3%80%E6%9F%A5%E4%BD%A0%E7%9A%84%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86%EF%BC%88%E5%A6%82%20Nginx%EF%BC%89%E3%80%81Docker%20%E7%BD%91%E7%BB%9C%E7%AD%89%E6%98%AF%E5%90%A6%E6%9C%89%E5%85%B6%E5%AE%83%E8%B6%85%E6%97%B6%E9%99%90%E5%88%B6%E3%80%82%0A%0A%E5%8F%82%E8%80%83%EF%BC%9A%5B%E5%AE%98%E6%96%B9%E8%AE%A8%E8%AE%BA%E4%B8%8E%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E%5D%28https%3A//github.com/langgenius/dify/discussions/28790%29%20%20%0A%E5%A6%82%E9%9C%80%E5%A4%84%E7%90%86%E6%9B%B4%E5%A4%A7%E6%96%87%E4%BB%B6%EF%BC%8C%E5%BB%BA%E8%AE%AE%E7%9B%91%E6%8E%A7%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%B5%84%E6%BA%90%EF%BC%8C%E5%BF%85%E8%A6%81%E6%97%B6%E5%8F%AF%E5%B0%86%E6%96%87%E6%A1%A3%E6%8B%86%E5%88%86%E5%A4%84%E7%90%86%E3%80%82)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/2445)
Author
Owner

@fatelei commented on GitHub (Jan 17, 2026):

Self Checks

  • 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 Dify issues & Dify Official Plugins, 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.11.1

Plugin version

word工具

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

word文档进行批注时,文档过大,执行到5min就会报错。5min内能够正常运行。

✔️ Error log

` 2026-01-17 04:40:57.927 ERROR [GraphWorker-0] [base.py:156] - Stream request to Plugin Daemon Service failed Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions yield File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event data = self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request with httpx.stream(**stream_kwargs) as response: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream with client.stream( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream response = self.send( ^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout: timed out 2026-01-17 04:40:57.930 ERROR [GraphWorker-0] [node.py:329] - Node 1766391460438 failed to run Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions yield File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event data = self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request with httpx.stream(**stream_kwargs) as response: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream with client.stream( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream response = self.send( ^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/app/api/core/workflow/nodes/base/node.py", line 319, in run for event in result: ^^^^^^ File "/app/api/core/workflow/nodes/tool/tool_node.py", line 132, in _run _ = yield from self._transform_message( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/workflow/nodes/tool/tool_node.py", line 251, in _transform_message for message in message_stream: ^^^^^^^^^^^^^^ File "/app/api/core/tools/utils/message_transformer.py", line 67, in transform_tool_invoke_messages for message in messages: ^^^^^^^^ File "/app/api/core/callback_handler/workflow_tool_callback_handler.py", line 21, in on_tool_execution for tool_output in tool_outputs: ^^^^^^^^^^^^ File "/app/api/core/tools/plugin_tool/tool.py", line 36, in _invoke yield from manager.invoke( File "/app/api/core/plugin/utils/chunk_merger.py", line 50, in merge_blob_chunks for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 256, in _request_with_plugin_daemon_response_stream for line in self._stream_request(method, path, params, headers, data, files): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 157, in _stream_request raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed") core.plugin.entities.plugin_daemon.PluginDaemonInnerError 2026-01-17 04:40:57.933 ERROR [GraphDispatcher] [error_handler.py:101] - Node 1766391460438 failed with ABORT strategy: 2026-01-17 04:40:58.039 ERROR [Thread-63 (_generate_worker)] [workflow_entry.py:111] - Unknown Error when workflow entry running Traceback (most recent call last): File "/app/api/core/workflow/workflow_entry.py", line 107, in run yield from generator File "/app/api/core/workflow/graph_engine/graph_engine.py", line 270, in run raise self._graph_execution.error RuntimeError `

which plugin

@fatelei commented on GitHub (Jan 17, 2026): > ### Self Checks > * [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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones.[x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).[x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)[x] Please do not modify this template :) and fill in all the required fields. > > ### Dify version > v1.11.1 > > ### Plugin version > word工具 > > ### Cloud or Self Hosted > Self Hosted (Docker) > > ### Steps to reproduce > word文档进行批注时,文档过大,执行到5min就会报错。5min内能够正常运行。 > > ### ✔️ Error log > ` 2026-01-17 04:40:57.927 ERROR [GraphWorker-0] [base.py:156] - Stream request to Plugin Daemon Service failed Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions yield File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event data = self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in **exit** self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout: timed out > > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request with httpx.stream(**stream_kwargs) as response: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in **enter** return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream with client.stream( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in **enter** return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream response = self.send( ^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in **exit** self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout: timed out 2026-01-17 04:40:57.930 ERROR [GraphWorker-0] [node.py:329] - Node 1766391460438 failed to run Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions yield File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event data = self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in **exit** self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout: timed out > > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): File "/app/api/core/plugin/impl/base.py", line 145, in _stream_request with httpx.stream(**stream_kwargs) as response: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in **enter** return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 172, in stream with client.stream( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 137, in **enter** return next(self.gen) ^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 880, in stream response = self.send( ^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in **exit** self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout: timed out > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): File "/app/api/core/workflow/nodes/base/node.py", line 319, in run for event in result: ^^^^^^ File "/app/api/core/workflow/nodes/tool/tool_node.py", line 132, in _run _ = yield from self._transform_message( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/workflow/nodes/tool/tool_node.py", line 251, in _transform_message for message in message_stream: ^^^^^^^^^^^^^^ File "/app/api/core/tools/utils/message_transformer.py", line 67, in transform_tool_invoke_messages for message in messages: ^^^^^^^^ File "/app/api/core/callback_handler/workflow_tool_callback_handler.py", line 21, in on_tool_execution for tool_output in tool_outputs: ^^^^^^^^^^^^ File "/app/api/core/tools/plugin_tool/tool.py", line 36, in _invoke yield from manager.invoke( File "/app/api/core/plugin/utils/chunk_merger.py", line 50, in merge_blob_chunks for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 256, in _request_with_plugin_daemon_response_stream for line in self._stream_request(method, path, params, headers, data, files): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 157, in _stream_request raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed") core.plugin.entities.plugin_daemon.PluginDaemonInnerError 2026-01-17 04:40:57.933 ERROR [GraphDispatcher] [error_handler.py:101] - Node 1766391460438 failed with ABORT strategy: 2026-01-17 04:40:58.039 ERROR [Thread-63 (_generate_worker)] [workflow_entry.py:111] - Unknown Error when workflow entry running Traceback (most recent call last): File "/app/api/core/workflow/workflow_entry.py", line 107, in run yield from generator File "/app/api/core/workflow/graph_engine/graph_engine.py", line 270, in run raise self._graph_execution.error RuntimeError ` which plugin
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#939