mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-21 17:25:23 -04:00
I encountered a plugin issue when visiting the homepage #242
Open
opened 2026-02-16 01:15:05 -05:00 by yindo
·
8 comments
No Branch/Tag Specified
main
build/fix-serverless-runtime-error-propagation
gh-pages
build/test-document2
build/test-document
build/onboarding-ui
build/slim-extract
codex/depot-builds
codex/mac-runner-benchmark
feat/storage-path-prefix
feat/multi-db-user
feat/slim-action
deploy/dev
feat/dify-cli
feat/add-e2e
build/pg-bouncer
codex/add-multimodal-rerank-and-embedding-apis
refactor/local-runtime
build/multimodal-embeddings
codex/refactor-routine.submit-label-handling
codex/refactor-service-layer-based-on-provided-plan
feat/trigger-response
feat/trigger
build/trigger
deploy/trigger-dev
codex/remove-claude-code-reviewer-from-github-ci
codex/add-manifest-check-to-upload-endpoint
feat/no-root-dockerfile
fix/json-schema
fix/blocking-anthorized-langgenius
454-bump-cli-template
build/datasource
feat/datasource
bump-cloud-kit
feat/rag-tag
fix/change-session-not-found-to-400
feat/plugin-readme
add-claude-github-actions-1756274550417
docs/comprehensive-development-documentation
chore/remove-json-schema-validation-error
71cef04
fix/missing-parameter-type
fix/sessions-log
fix/template.env
bump/go-git
build/oauth
feat/oauth-refresh-token
feat/plugin-oauth
feat/tool-oauth-cli
build/plugin-oauth
feat/readme-i18n
fix/memory-leak
feat/icon-dark
feat/default-icon
plugin_launch_concurent
feat/collect-active-requests
feat/dark-icon
feat/support-structured-llm-output
feat/dynamic-selector
fix/reduce-logs
feat/decode-plugin-package
feat/db-extras
fix/backwards-invocation-overflow
feat/length-prefixed-chunking
fix/http-request-reader-header
chore/unify-configurations
fix/hardcoded-serverless-runtime-timeout
fix/cmd
fix/signature
refactor/implement-gen-routes
fix/redis-lock
refactor/codegen
feat/add-authorized-category
chore/style
feat/run-plugin-cli
reduce/run-once
feat/reinstall-serverless-runtime
feat/support-setup-process
fix/apply-stdio-buffer-size
chore/add-warning-messages-to-installed-bucket
feat/repo
enhance/stdio
feat/make-buffer-size-configurable
fix/moderation-init
fix/only-validate-profile-on-quick-mode
feat/support-quick-init-plugins
refactor/oauth-parameters
feat/oauth
refactor/simplify-plugin-invocation
test/integration-test-for-plugins
fix/backwards-compatible-to-llm-result-chunk
feat/auto-scale
enhance/reduce-ci-tests
fix/cli-ci
enhance/removes-llm-result-prompt-messages
fix/disable-benchmark-logs
benchmark/local-runtime
chore/remove-useless-benchmark
feat/benchmark
feat/fetch-app-info
fix/windows-remap-assets
fix/skip-hidden-file
feat/stream-tool-blob-message
fix/path-travel
feat/template-add-ci
enhance/version-compare
feat/sign-apple-os-cli
feat/support-minimal-dify-version-required
refactor/stdip
feat/add-serverless-connector-launching-timeout
fix/remove-prompt_messages-from-llm-result-chunk
feat/standardize-plugin-sdk-versions
chore/update-docs-and-refine-wording
update/readme-cli
fix/infinity-environment-setup
fix/cbor-unmarshaling
fix/use-aws-iam-baseendpoint
fix/lost-query-params-in-endpoint
fix/tiktoken
cohre/update-readme
fix/redis-tests
fix/friendly-identity
fix/marshal-any-map
chore/upgrade-ants
fix/graceful-precompile
enhance/tiktoken
feat/graceful-shutdown
fix/close-serverless-response
fix/correct-cli-guide
fix/plugin-active-log
fix/remove-proxy-args-from-uv
fix/endpoint-hook-url
fix/ci-credentials
feat/disable-gevent
fix/add-gcc
fix/hardcoded-endpoint-timeout
fix/bump-cli-sdk-version
fix/deadloop-when-redis-disconnect
fix/enhence/speed-up-environment-setup
enhance/introduce-uv
fix/change-default-db
fix/deadlock
readme
chore/env.example
feat/add-action-in-url
fix/add-more-pip-args
fix/optimize-local-heartbeat
optimize/db-init
fix/optimize-internal-server-error
fix/increase-default-plugin-max-execution-timeout
fix/force-patch-older-version
enhance/increase-installing-process
LICENSE
fix/set-user-id-to-unrequired
fix/max-launching-concurrent
improve/error-handing-in-serverless
refactor/json-unmarshaler-enhancement
fix/add-pip-mirror-url
enhance/serverless-connector
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.3.0b1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.1-beta.23
0.0.1-beta.22
0.0.1-beta.21
0.0.1-beta.20
0.0.1-beta.19
0.0.1-beta.18
0.0.1-beta.17
0.0.1-beta.16
0.0.1-beta.15
0.0.1-beta.14
0.0.1-beta.13
0.0.1-beta.12
0.0.1-beta.11
0.0.1-beta.10
0.0.1-beta.9
0.0.1-beta.8
0.0.1-beta.7
0.0.1-beta.6
0.0.1-beta.5
0.0.1-beta.4
0.0.1-beta.3
0.0.1-beta.2
0.0.1-beta.1
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: langgenius/dify-plugin-daemon#242
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AlanChan1993 on GitHub (Feb 4, 2026).
Dear ,I encountered a plugin issue when visiting the homepage:
1.[ERROR]failed to get plugin identity, check if your declaration is invalid: plugin_unique_identifier is not valid: :@
Versions
My Dify version is '1.11.4'
dify-api: 1.11.4
aify-plugin-daemon 0.5.2-local
2.plugin_daemon-1 | 2026/02/05 00:52:25 client.go:39: [PANIC]Failed to ping serverless connector%!(EXTRA *json.SyntaxError=invalid character '<' looking for beginning of value)
plugin_daemon-1 | panic: [PANIC]Failed to ping serverless connector%!(EXTRA *json.SyntaxError=invalid character '<' looking for beginning of value)
Versions
My Dify version is '1.11.4'
dify-api: 1.11.4
aify-plugin-daemon 0.5.2-serverless
Best Regards
@dosubot[bot] commented on GitHub (Feb 4, 2026):
Hi @AlanChan1993! I'm Dosu and I’m helping the dify-plugin-daemon team.
Here’s what’s causing your issues and how to fix them:
1. Plugin identity error (
plugin_unique_identifier is not valid: :@):This means your plugin declaration is missing required fields or is incorrectly formatted. The identifier must follow the pattern:
author/plugin_id:version@checksum(all lowercase, with specific length and character constraints) see code validation.Common causes:
manifest.yamlor provider yaml files (especially theauthorfield).:in filenames.How to fix:
manifest.yamland provider yaml files. Make sure all required fields are present and correctly formatted.plugin_installations,plugin_declarations,ai_model_installations,plugins) and remove plugin files from storage directories (/app/storage/cwd/plugins/plugin,plugin-working,persistence,plugin-root) step-by-step guide.authorfield to match your GitHub ID, repackage and reinstall the plugin, then restart the plugin daemon.:in filenames Windows-specific advice.2. Serverless connector ping failure (
invalid character '<' looking for beginning of value):This error means the serverless connector endpoint is returning HTML (like an error page) instead of the expected JSON response.
Common causes:
DIFY_PLUGIN_SERVERLESS_CONNECTOR_URLenvironment variable is set incorrectly, or the service isn’t running.How to fix:
DIFY_PLUGIN_SERVERLESS_CONNECTOR_URLvalue. Make sure the serverless connector service is running and accessible./pingendpoint must respond with the stringpongto a POST request ping logic.localhostor127.0.0.1for service endpoints—usehost.docker.internalor your host’s internal IP network troubleshooting.If you still see errors after these checks, please share your actual plugin
manifest.yamlor the full error logs for more targeted help.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@AlanChan1993 commented on GitHub (Feb 4, 2026):
Hi Dosu, I have a new issue.
api-1 | 2026-02-05 01:10:45,838.838 ERROR [Dummy-81] [base.py:88] f16af259446c5538a881b6e1ead106e7 - Request to Plugin Daemon Service failed
@dosubot[bot] commented on GitHub (Feb 4, 2026):
This error usually means the API service can't reach the Plugin Daemon Service. The most common causes are: the plugin daemon container isn't running or is unreachable (network/Docker misconfiguration), the PLUGIN_DAEMON_URL or SERVER_HOST/SERVER_PORT settings are wrong, or there's proxy interference (http_proxy/https_proxy not unset or no_proxy not set for local services) source source.
Check that the plugin daemon is running and healthy, PLUGIN_DAEMON_URL points to the correct host and port (not localhost/127.0.0.1 in Docker), and that your .env and compose files set SERVER_HOST=0.0.0.0 and include no_proxy for local addresses. Also, review plugin daemon logs for errors at the time of failure, and make sure the daemon has outbound internet access on first run.
If you can, share the relevant logs from both API and plugin daemon, your environment variable settings, and confirm if you made any recent changes to your deployment or configuration. This will help narrow down the root cause.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@AlanChan1993 commented on GitHub (Feb 4, 2026):
docker-compose.yaml:
plugin_daemon:
image: langgenius/dify-plugin-daemon:0.5.2-serverless
# image: langgenius/dify-plugin-daemon:0.5.2-local
container_name: docker-plugin_daemon-1
restart: always
depends_on:
- api
- redis
- postgres
ports:
- "5003:5003"
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=difyai123456
- DIFY_INNER_API_URL=http://api:5001
- DIFY_INNER_API_KEY=1qaz2wsx0okm9ijn3edfv4rfgb
- DB_USERNAME=postgres
- DB_PASSWORD=difyai123456
- DB_HOST=postgres
- DB_PORT=5432
- DB_DATABASE=dify
- DB_TYPE=postgresql
- DB_DEFAULT_DATABASE=dify
- PLUGIN_SERVER_PORT=5003
- PLUGIN_INSTALLING_HOST=http://api:5001
- SERVER_KEY=1qaz2wsx0okm9ijn3edfv4rfgb
- INNER_API_KEY_FOR_PLUGIN=1qaz2wsx0okm9ijn3edfv4rfgb
- PLUGIN_REMOTE_INSTALLING_HOST=0.0.0.0
- PLUGIN_REMOTE_INSTALLING_PORT=5003
- LOG_LEVEL=INFO
- PLUGIN_WORKING_PATH=/app/storage/cwd
- DIFY_API_URL=http://api:5001
- DIFY_API_KEY=1qaz2wsx0okm9ijn3edfv4rfgb
volumes:
- dify_logs:/app/logs
- dify_plugins:/app/storage/cwd
networks:
- default
.env :
DISABLE_PLUGIN_SCAN=false
DB_PLUGIN_DATABASE=dify
EXPOSE_PLUGIN_DAEMON_PORT=5003
PLUGIN_DAEMON_HOST=0.0.0.0
PLUGIN_DAEMON_PORT=5003
PLUGIN_DAEMON_SERVER_KEY=1qaz2wsx0okm9ijn3edfv4rfgb
PLUGIN_DAEMON_KEY=1qaz2wsx0okm9ijn3edfv4rfgb
PLUGIN_DAEMON_URL=http://plugin_daemon:5003
PLUGIN_MAX_PACKAGE_SIZE=52428800
PLUGIN_PPROF_ENABLED=false
PLUGIN_DEBUGGING_HOST=0.0.0.0
PLUGIN_DEBUGGING_PORT=5003
EXPOSE_PLUGIN_DEBUGGING_HOST=10.180.214.1
EXPOSE_PLUGIN_DEBUGGING_PORT=5003
PLUGIN_DIFY_INNER_API_KEY=1qaz2wsx0okm9ijn3edfv4rfgb
PLUGIN_DIFY_INNER_API_URL=http://api:5001
@dosubot[bot] commented on GitHub (Feb 4, 2026):
Your config is close, but a few things can cause the "Request to Plugin Daemon Service failed" error in Docker Compose:
Make sure the API service uses
PLUGIN_DAEMON_URL=http://plugin_daemon:5003(not localhost or 127.0.0.1) for inter-container calls. This matches your Compose service name and port, which is correct for Docker networking [source].Add
no_proxy=localhost,127.0.0.1,db,redis,plugin_daemon,apito your.envfile and propagate it to the API service environment. This prevents proxy settings from interfering with local service communication [source].Confirm that
SERVER_HOST(orPLUGIN_DAEMON_HOST) is set to0.0.0.0andSERVER_PORT(orPLUGIN_DAEMON_PORT) is set to5003in both your.envand Compose environment. The plugin daemon must bind to all interfaces on the correct port [source].If you use a corporate proxy, you may need to build a custom plugin_daemon image with your CA certificate included, and use a wrapper entrypoint for Python services to update the certifi bundle [source].
Double-check that all services are healthy and that the plugin_daemon container is actually listening on port 5003. You can exec into the API container and run
curl http://plugin_daemon:5003/health/checkto verify connectivity.If you follow these steps and still see errors, check the plugin_daemon logs for panics or binding errors at startup. Let me know if you need help with a specific log or error message.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@AlanChan1993 commented on GitHub (Feb 4, 2026):
modify the file . but create a new issue:
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 234, in _request_with_plugin_daemon_response
api-1 | response = self._request(method, path, headers, data, params, files)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/plugin/impl/base.py", line 89, in _request
api-1 | raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed")
api-1 | core.plugin.entities.plugin_daemon.PluginDaemonInnerError
api-1 | 2026-02-05 02:40:16,320.320 ERROR [Dummy-45] [base.py:88] 49970c2a0a2b5b50abd34ecb1a91b041 - Request to Plugin Daemon Service failed
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
api-1 | yield
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
api-1 | resp = self._pool.handle_request(req)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
api-1 | raise exc from None
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
api-1 | response = connection.handle_request(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 101, in handle_request
api-1 | raise exc
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 78, in handle_request
api-1 | stream = self._connect(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 124, in _connect
api-1 | stream = self._network_backend.connect_tcp(**kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 207, in connect_tcp
api-1 | with map_exceptions(exc_map):
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
api-1 | raise to_exc(exc) from exc
api-1 | httpcore.ConnectError: [Errno -2] Name or service not known
api-1 |
api-1 | The above exception was the direct cause of the following exception:
api-1 |
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 86, in _request
api-1 | response = httpx.request(**request_kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 118, in request
api-1 | return client.request(
api-1 | ^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 837, in request
api-1 | return self.send(request, auth=auth, follow_redirects=follow_redirects)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
api-1 | response = self._send_handling_auth(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
api-1 | response = self._send_handling_redirects(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
api-1 | response = self._send_single_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
api-1 | response = transport.handle_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
api-1 | with map_httpcore_exceptions():
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
api-1 | raise mapped_exc(message) from exc
api-1 | httpx.ConnectError: [Errno -2] Name or service not known
api-1 | 2026-02-05 02:40:16,321.321 ERROR [Dummy-45] [base.py:241] 49970c2a0a2b5b50abd34ecb1a91b041 - Failed to request plugin daemon, url: plugin/c3297e11-18c9-4237-95e2-a85c6a56776d/management/install/tasks
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
api-1 | yield
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
api-1 | resp = self._pool.handle_request(req)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
api-1 | raise exc from None
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
api-1 | response = connection.handle_request(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 101, in handle_request
api-1 | raise exc
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 78, in handle_request
api-1 | stream = self._connect(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 124, in _connect
api-1 | stream = self._network_backend.connect_tcp(**kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 207, in connect_tcp
api-1 | with map_exceptions(exc_map):
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
api-1 | raise to_exc(exc) from exc
api-1 | httpcore.ConnectError: [Errno -2] Name or service not known
api-1 |
api-1 | The above exception was the direct cause of the following exception:
api-1 |
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 86, in _request
api-1 | response = httpx.request(**request_kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 118, in request
api-1 | return client.request(
api-1 | ^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 837, in request
api-1 | return self.send(request, auth=auth, follow_redirects=follow_redirects)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
api-1 | response = self._send_handling_auth(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
api-1 | response = self._send_handling_redirects(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
api-1 | response = self._send_single_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
api-1 | response = transport.handle_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
api-1 | with map_httpcore_exceptions():
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
api-1 | raise mapped_exc(message) from exc
api-1 | httpx.ConnectError: [Errno -2] Name or service not known
api-1 |
api-1 | During handling of the above exception, another exception occurred:
api-1 |
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 234, in _request_with_plugin_daemon_response
api-1 | response = self._request(method, path, headers, data, params, files)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/plugin/impl/base.py", line 89, in _request
api-1 | raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed")
api-1 | core.plugin.entities.plugin_daemon.PluginDaemonInnerError
api-1 | 2026-02-05 02:40:16,349.349 ERROR [Dummy-46] [base.py:88] dd6e411d9bf25bd6a64262be2ff74ea5 - Request to Plugin Daemon Service failed
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
api-1 | yield
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
api-1 | resp = self._pool.handle_request(req)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
api-1 | raise exc from None
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
api-1 | response = connection.handle_request(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 101, in handle_request
api-1 | raise exc
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 78, in handle_request
api-1 | stream = self._connect(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 124, in _connect
api-1 | stream = self._network_backend.connect_tcp(**kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 207, in connect_tcp
api-1 | with map_exceptions(exc_map):
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
api-1 | raise to_exc(exc) from exc
api-1 | httpcore.ConnectError: [Errno -2] Name or service not known
api-1 |
api-1 | The above exception was the direct cause of the following exception:
api-1 |
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 86, in _request
api-1 | response = httpx.request(**request_kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 118, in request
api-1 | return client.request(
api-1 | ^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 837, in request
api-1 | return self.send(request, auth=auth, follow_redirects=follow_redirects)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
api-1 | response = self._send_handling_auth(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
api-1 | response = self._send_handling_redirects(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
api-1 | response = self._send_single_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
api-1 | response = transport.handle_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
api-1 | with map_httpcore_exceptions():
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
api-1 | raise mapped_exc(message) from exc
api-1 | httpx.ConnectError: [Errno -2] Name or service not known
api-1 | 2026-02-05 02:40:16,350.350 ERROR [Dummy-46] [base.py:241] dd6e411d9bf25bd6a64262be2ff74ea5 - Failed to request plugin daemon, url: plugin/c3297e11-18c9-4237-95e2-a85c6a56776d/management/models
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 72, in map_httpcore_exceptions
api-1 | yield
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 236, in handle_request
api-1 | resp = self._pool.handle_request(req)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
api-1 | raise exc from None
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
api-1 | response = connection.handle_request(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 101, in handle_request
api-1 | raise exc
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 78, in handle_request
api-1 | stream = self._connect(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 124, in _connect
api-1 | stream = self._network_backend.connect_tcp(**kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 207, in connect_tcp
api-1 | with map_exceptions(exc_map):
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
api-1 | raise to_exc(exc) from exc
api-1 | httpcore.ConnectError: [Errno -2] Name or service not known
api-1 |
api-1 | The above exception was the direct cause of the following exception:
api-1 |
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 86, in _request
api-1 | response = httpx.request(**request_kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_api.py", line 118, in request
api-1 | return client.request(
api-1 | ^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 837, in request
api-1 | return self.send(request, auth=auth, follow_redirects=follow_redirects)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 926, in send
api-1 | response = self._send_handling_auth(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth
api-1 | response = self._send_handling_redirects(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
api-1 | response = self._send_single_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request
api-1 | response = transport.handle_request(request)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request
api-1 | with map_httpcore_exceptions():
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
api-1 | self.gen.throw(value)
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
api-1 | raise mapped_exc(message) from exc
api-1 | httpx.ConnectError: [Errno -2] Name or service not known
api-1 |
api-1 | During handling of the above exception, another exception occurred:
api-1 |
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/plugin/impl/base.py", line 234, in _request_with_plugin_daemon_response
api-1 | response = self._request(method, path, headers, data, params, files)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/plugin/impl/base.py", line 89, in _request
api-1 | raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed")
api-1 | core.plugin.entities.plugin_daemon.PluginDaemonInnerError
@dosubot[bot] commented on GitHub (Feb 4, 2026):
The error likely points to one of these root causes:
Invalid or corrupted plugin unique identifier: If your plugin's
manifest.yamlor provider yaml files have missing or incorrectauthorornamefields, or if the identifier doesn't match the required format, the daemon will reject it and management endpoints will fail. This can also happen if the identifier starts with a/or contains uppercase letters. Fix by ensuring all plugin metadata is correct and matches the expected pattern, then repackage and reinstall the plugin. Reference ReferenceStale or corrupted plugin data: Old or invalid plugin records in your database or plugin storage directories can cause persistent errors. Clear the plugin-related tables (
plugin_installations,plugin_declarations,ai_model_installations,plugins) and remove plugin files from/app/storage/cwd/plugins/(plugin, plugin-working, persistence, plugin-root), then restart the plugin daemon. ReferenceMalformed JSON from the daemon: If the daemon returns malformed or unexpected JSON (wrong shape, missing fields, etc.), the API will fail to parse it, resulting in errors like this. Add a sanitizer/normalizer in the API before parsing the daemon response to catch and log malformed data, returning a clear error instead of a stack trace. Reference
Missing Python dependencies: Some plugins (like ollama) require dependencies such as numpy. If these are missing in the plugin daemon container, the daemon may panic or return 500 errors at management endpoints. Install the required dependencies inside the container if needed. Reference
To move forward, please:
c3297e11-18c9-4237-95e2-a85c6a56776dis valid and present in your database.If you suspect malformed JSON, try hitting the
/plugin/c3297e11-18c9-4237-95e2-a85c6a56776d/management/modelsendpoint directly (e.g., with curl) and inspect the raw response. If it’s not a valid JSON object, add a sanitizer as suggested in the linked thread.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@AlanChan1993 commented on GitHub (Feb 4, 2026):
Is it necessary to install the python runtime environment in a docker container