PluginDaemonInternalServerError: failed to get plugin runtime when invoking tool with file upload via remote debug
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the remote debug router workflow with command="add" and an uploaded .zip passed through files, then trace plugin runtime acquisition before the tool's _invoke runs. Compare that path with the confirmed local python -m main flow and the successful file-download and zip-extraction simulation. Done means the remote invocation obtains the plugin runtime and reaches the tool code without PluginDaemonInternalServerError.
Written by the indexing model from the issue text.
Description
Environment
- Remote debug install (
debug.dify.ai:5003) dify-pluginSDK v0.9.1- Python 3.12
Steps to reproduce
A router workflow calls a tool with command="add" and an uploaded .zip file (passed via the files param). The plugin process is confirmed running locally (python -m main logs Installed tool: ...).
Error
PluginDaemonInternalServerError: failed to get plugin runtime — occurring before any of the tool's own code executes.
What's been ruled out
- manifest.yaml validated against the current SDK's Pydantic models (
PluginConfiguration,I18nObject, etc.) — fully compliant - Simulated the exact file-download + zip-extraction flow locally using the real upload URL — succeeds without error
- Added debug instrumentation directly in the tool's
_invoketo confirm request routing/reachability
manifest.yaml
version: 0.0.2
type: plugin
author: pareek-ml
name: agent_skills
label:
en_US: agent_skills
description:
en_US: allows you to install and use custom skills
icon: icon.svg
icon_dark: icon-dark.svg
resource:
memory: 268435456
permission:
tool:
enabled: true
model:
enabled: true
llm: true
text_embedding: false
rerank: false
tts: false
speech2text: false
moderation: false
endpoint:
enabled: true
app:
enabled: true
storage:
enabled: true
size: 104857600
plugins:
tools:
- provider/agent_skills.yaml
meta:
version: 0.0.2
arch:
- amd64
- arm64
runner:
language: python
version: "3.12"
entrypoint: main
minimum_dify_version: null
created_at: 2026-07-15T16:56:51.72279+02:00
privacy: PRIVACY.md
verified: false
- Dominant language
- Go
- Stars
- 462
- Forks
- 326
- Avg merge
- 22h 15m
- Merged PRs (30d)
- 8
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from langgenius/dify-plugin-daemon
-
Agent strategy run cut by PLUGIN_MAX_EXECUTION_TIMEOUT is reported only as "Internal Server Error"Open
Difficulty 3/5 1-2 days Newbie friendliness 62/100
langgenius/dify-plugin-daemon#863 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
langgenius/dify-plugin-daemon#862 ·
Maintainers usually reply within 1 day
-
fix(install): prevent mirror settings from changing dependency resolution inputsPossibly taken @WH-2099 claimed this 5 days ago. Openproject#dify-plugin-daemon
langgenius/dify-plugin-daemon#860 · 1 assignee ·
Maintainers usually reply within 1 day
-
READONLY error when using Redis 6.2.2 Sentinel cluster on Kubernetes with dify-plugin-daemon 0.6.10-localPossibly taken @Souravrajvi0 claimed this 60 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
langgenius/dify-plugin-daemon#826 · 2 comments ·
Maintainers usually reply within 1 day
-
uninstall the plugin, but the plugin package is not removedPossibly taken @fatelei claimed this 111 days ago. Openbug plugin-daemon
Difficulty 3/5 1-2 days Newbie friendliness 38/100
langgenius/dify-plugin-daemon#797 · 2 comments ·
Maintainers usually reply within 1 day
All issues in langgenius/dify-plugin-daemon
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
github/github-mcp-server#3960 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
JuliusBrussee/caveman#1594 ·
Maintainers usually reply within 1 day
-
C-bug O-community X-blathers-triaged
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
cockroachdb/cockroach#176264 · 1 comment ·