dify - 💡(How to fix) Fix [Self-hosted] langgenius/mineru/mineru plugin fails with "Errno 99: Cannot assign requested address" ConnectError

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

The workflow immediately aborts with an error Full error logs from the runtime in celery.log: 2026-05-18 05:16:26,905 ERROR [base.py:305] aea0de2979 Error in stream response for plugin ('code': -500, 'message': '{"message":"{\"args\":{},\"error_type\":\"ConnectError\",\"message\":\"[Errno 99] Cannot assign requested address\"}"}', 'error_type':PluginInvokeError", 'args':null}', 'data': None} 2026-05-18 05:16:26,906 DEBUG [_trace.py:47] aea0de2979 receive_response_body. failed exception=GeneratorExit() 2026-05-18 05:16:26,943 ERROR [error_handler.py:101] Node 1778034797725 failed with ABORT strategy: An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno 99] Cannot assign requested address 2026-05-18 05:16:26,943 ERROR [debug_logging.py:172] ✗ Node failed: 1778034797725 2026-05-18 05:16:26,943 ERROR [debug_logging.py:173] Error: An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno 99] Cannot assign requested address 2026-05-18 05:16:26,943 ERROR [debug_logging.py:176] Details: An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno 99] Cannot assign requested address

Fix Action

Fix / Workaround

2026-05-18 05:16:26,903 INFO [_client.py:1025] aea0de2979 HTTP Request: POST http://10.103.43.14:5006/plugin/ea4bc431-0114-4d02-88cc-e624c38b5b136/dispatch/invoke "HTTP/1.1 1 200 OK"

RAW_BUFFERClick to expand / collapse

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.13.3

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Run self-hosted instance of the platform (Dify) Create a workflow that uses the langgenius/mineru/mineru plugin node Execute the workflow that triggers the MinerU plugin call The workflow immediately aborts with an error

✔️ Expected Behavior

The langgenius/mineru/mineru plugin should run normally, establish a network connection to its backend service, and return the expected result (e.g., document parsing). The workflow should complete without failure, and the database transaction should commit successfully.

❌ Actual Behavior

The workflow fails with an ABORT strategy due to a ConnectError. The plugin call throws Errno 99: Cannot assign requested address, indicating the process cannot bind or connect to the required network address. The database executes a ROLLBACK due to the workflow failure. Full error logs from the runtime in celery.log: 2026-05-18 05:16:11,753 INFO sqlalchemy.engine.Engine [generated in 0.00038s] {'tenant_id_': 'ea4bc431-0114-4d02-88cc-e624c38b5b136', 'id_': '5a7e73c3-72e6-4275-94b4-1c6f62fd71ac'}

2026-05-18 05:16:11, 760 WARNING [log.py:232] aea0de2979

[on_tool_start] ToolCall:parse-file

('file': File(dify_model_identity='dify_file', id=None, tenant_id='ea4bc431-0114-4d02-88cc-e624c38b5b136', type=<FileType.DOCUMENT: 'document'>, transfer_method=FileTransferMethod.LOCAL_FILE, local_file='', remote_url='http://10.103.43.14:5005/files/8a47490-fdff-48a4-b84f-425bd58f34f/file?preview&timestamp=177908136&nonce=b6f92f200768ebe8f37f9af942389a2&csign=sd64fiaFGiLFv6WCaxQcTam803COo-ihiw6T3_sjUM3D2', related_id='a9a47490-fdff-48a4-b84f-425bd58f34f3f', filename='外贸.pdf', extension='.pdf', mime_type='application/pdf', size=128864))

2026-05-18 05:16:11,789 DEBUG [_trace.py:47] aea0de2979 connect_tcp started host='10.103.43.14' port=5006 local_address=None timeout=600.0 socket_options=None

2026-05-18 05:16:11,769 DEBUG [_trace.py:47] aea0de2979 connect_tcp complete return_value=<httpcore_backends.sync.SyncStream object at 0x7f50f01ccd70>

2026-05-18 05:16:11,770 DEBUG [_trace.py:47] aea0de2979 send_request_headers.started request=<Request [b'POST']>

2026-05-18 05:16:11,770 DEBUG [_trace.py:47] aea0de2979 send_request_headers complete

2026-05-18 05:16:11,770 DEBUG [_trace.py:47] aea0de2979 send_request_body.started request=<Request [b'POST']>

2026-05-18 05:16:11,770 DEBUG [_trace.py:47] aea0de2979 send_request_body complete

2026-05-18 05:16:11,770 DEBUG [_trace.py:47] aea0de2979 receive_response_headers.started request=<Request [b'POST']>

2026-05-18 05:16:26,903 DEBUG [_trace.py:47] aea0de2979 receive_response_headers complete return_value=(b'HTTP/1.1 200, 6 0K', [(b'Content-Type', b'text/event-stream'), (b'Date', b'Mon, 18 May 2026 05:16:26 GMT'), (b'Transfer-Encoding', b'chunked')])

2026-05-18 05:16:26,903 INFO [_client.py:1025] aea0de2979 HTTP Request: POST http://10.103.43.14:5006/plugin/ea4bc431-0114-4d02-88cc-e624c38b5b136/dispatch/invoke "HTTP/1.1 1 200 OK"

2026-05-18 05:16:26,904 DEBUG [_trace.py:47] aea0de2979 receive_response_body.started request=<Request [b'POST']> 2026-05-18 05:16:26,905 ERROR [base.py:305] aea0de2979 Error in stream response for plugin ('code': -500, 'message': '{"message":"{\"args\":{},\"error_type\":\"ConnectError\",\"message\":\"[Errno 99] Cannot assign requested address\"}"}', 'error_type':PluginInvokeError", 'args':null}', 'data': None} 2026-05-18 05:16:26,906 DEBUG [_trace.py:47] aea0de2979 receive_response_body. failed exception=GeneratorExit() 2026-05-18 05:16:26,906 DEBUG [_trace.py:47] aea0de2979 response_closed. started 2026-05-18 05:16:26,906 DEBUG [_trace.py:47] aea0de2979 response_closed. complete 2026-05-18 05:16:26,907 INFO sqlalchemy.engine.Engine ROLLBACK 2026-05-18 05:16:26,943 ERROR [error_handler.py:101] Node 1778034797725 failed with ABORT strategy: An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno 99] Cannot assign requested address 2026-05-18 05:16:26,943 ERROR [debug_logging.py:172] ✗ Node failed: 1778034797725 2026-05-18 05:16:26,943 ERROR [debug_logging.py:173] Error: An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno 99] Cannot assign requested address 2026-05-18 05:16:26,943 ERROR [debug_logging.py:176] Details: An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno 99] Cannot assign requested address

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - 💡(How to fix) Fix [Self-hosted] langgenius/mineru/mineru plugin fails with "Errno 99: Cannot assign requested address" ConnectError