dify - 💡(How to fix) Fix After adding skills, the workflow cannot run, and the backend API service reports "File not found". V1.14.0 Bug [25 comments, 2 participants]

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…
GitHub stats
langgenius/dify#34787Fetched 2026-04-09 08:17:52
View on GitHub
Comments
25
Participants
2
Timeline
27
Reactions
2
Timeline (top)
commented ×25labeled ×1unsubscribed ×1

Error Message

[2026-04-09 01:02:18 +0000] [73] [ERROR] Socket error processing request.

Traceback (most recent call last):

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 64, in handle

util.reraise(*sys.exc_info())

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

raise value

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 54, in handle

self.handle_request(listener_name, req, client, addr)

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/ggevent.py", line 127, in handle_request

super().handle_request(listener_name, req, sock, addr)

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 129, in handle_request

util.reraise(*sys.exc_info())

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

raise value

File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 114, in handle_request

for item in respiter:

            ^^^^^^^^

File "/app/api/extensions/storage/opendal_storage.py", line 57, in load_stream

raise FileNotFoundError("File not found")

FileNotFoundError: File not found

Code Example

[2026-04-09 01:02:18 +0000] [73] [ERROR] Socket error processing request.

Traceback (most recent call last):

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 64, in handle

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 54, in handle

    self.handle_request(listener_name, req, client, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/ggevent.py", line 127, in handle_request

    super().handle_request(listener_name, req, sock, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 129, in handle_request

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 114, in handle_request

    for item in respiter:

                ^^^^^^^^

  File "/app/api/extensions/storage/opendal_storage.py", line 57, in load_stream

    raise FileNotFoundError("File not found")

FileNotFoundError: File not found

---

[2026-04-09 01:02:18 +0000] [73] [ERROR] Socket error processing request.

Traceback (most recent call last):

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 64, in handle

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 54, in handle

    self.handle_request(listener_name, req, client, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/ggevent.py", line 127, in handle_request

    super().handle_request(listener_name, req, sock, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 129, in handle_request

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 114, in handle_request

    for item in respiter:

                ^^^^^^^^

  File "/app/api/extensions/storage/opendal_storage.py", line 57, in load_stream

    raise FileNotFoundError("File not found")

FileNotFoundError: File not found
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.14.0-rc1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

[2026-04-09 01:02:18 +0000] [73] [ERROR] Socket error processing request.

Traceback (most recent call last):

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 64, in handle

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 54, in handle

    self.handle_request(listener_name, req, client, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/ggevent.py", line 127, in handle_request

    super().handle_request(listener_name, req, sock, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 129, in handle_request

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 114, in handle_request

    for item in respiter:

                ^^^^^^^^

  File "/app/api/extensions/storage/opendal_storage.py", line 57, in load_stream

    raise FileNotFoundError("File not found")

FileNotFoundError: File not found

✔️ Expected Behavior

I expect to be able to use skills normally without encountering the "file not found" error.

❌ Actual Behavior

<img width="2526" height="1184" alt="Image" src="https://github.com/user-attachments/assets/d3207642-157c-4730-93df-9d8707b30523" />

I created a standard workflow, then added a DOCX skill. The backend reported "file not found," and the workflow could not run.

[2026-04-09 01:02:18 +0000] [73] [ERROR] Socket error processing request.

Traceback (most recent call last):

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 64, in handle

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 54, in handle

    self.handle_request(listener_name, req, client, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/ggevent.py", line 127, in handle_request

    super().handle_request(listener_name, req, sock, addr)

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 129, in handle_request

    util.reraise(*sys.exc_info())

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/util.py", line 640, in reraise

    raise value

  File "/app/api/.venv/lib/python3.12/site-packages/gunicorn/workers/base_async.py", line 114, in handle_request

    for item in respiter:

                ^^^^^^^^

  File "/app/api/extensions/storage/opendal_storage.py", line 57, in load_stream

    raise FileNotFoundError("File not found")

FileNotFoundError: File not found
<img width="2201" height="455" alt="Image" src="https://github.com/user-attachments/assets/f9b9e49a-ee02-4695-b6e5-2cc7edf877c5" />

extent analysis

TL;DR

Check the file path and storage configuration in the opendal_storage.py extension to ensure that the required files are accessible and properly configured.

Guidance

  • Verify that the file being requested exists in the storage system and that the file path is correct.
  • Check the opendal_storage.py extension configuration to ensure that it is properly set up to handle file requests.
  • Review the Docker container configuration to ensure that the storage volume is properly mounted and accessible.
  • Consider adding error handling to the load_stream method in opendal_storage.py to provide more informative error messages.

Example

No code example is provided as the issue is related to a specific configuration and file path, which cannot be determined without more information.

Notes

The issue seems to be related to a configuration or file path problem, rather than a code issue. The FileNotFoundError exception is being raised in the load_stream method of the opendal_storage.py extension, indicating that the file being requested cannot be found.

Recommendation

Apply workaround by checking and correcting the file path and storage configuration to ensure that the required files are accessible and properly configured. This is because the issue seems to be related to a configuration problem, and correcting the configuration is likely to resolve the issue.

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