watcher.go:73: [ERROR]list installed plugins failed: plugin_unique_identifier is not valid: \langgenius\anthropic #465

Closed
opened 2026-02-16 10:19:29 -05:00 by yindo · 1 comment
Owner

Originally created by @AngryMills on GitHub (Jul 21, 2025).

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

1.6.0

Plugin version

dify-plugin-daemon-0.1.3

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

os: windows
started apps: dify-api、dify-web、dify-plugin-daemon
phenomenon: install plugins failed
third: postgresql、redis are all ok,tables prepared
screen snapshots:
Image
error log:
dify-api.log:

025-07-21 06:24:18,170 INFO [_internal.py:97] 127.0.0.1 - - [21/Jul/2025 14:24:18] "GET /console/api/workspaces/current/plugin/debugging-key HTTP/1.1" 500 -
2025-07-21 06:24:57,855 INFO [_internal.py:97] 127.0.0.1 - - [21/Jul/2025 14:24:57] "OPTIONS /console/api/workspaces/current/plugin/debugging-key HTTP/1.1" 200 -
2025-07-21 06:24:58,203 ERROR [app.py:875] f45fd70b92 Exception on /console/api/workspaces/current/plugin/debugging-key [GET]
Traceback (most recent call last):
File "D:\dev\workspace\node\awesome-dify.venv\Lib\site-packages\flask\app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify.venv\Lib\site-packages\flask\app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify.venv\Lib\site-packages\flask_restful__init__.py", line 489, in wrapper
resp = resource(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify.venv\Lib\site-packages\flask\views.py", line 110, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify.venv\Lib\site-packages\flask_restful_init_.py", line 604, in dispatch_request
resp = meth(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\controllers\console\wraps.py", line 210, in decorated
return view(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\libs\login.py", line 61, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\controllers\console\wraps.py", line 31, in decorated
return view(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\controllers\console\workspace__init__.py", line 32, in decorated
return view(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\controllers\console\workspace\plugin.py", line 31, in get
"key": PluginService.get_debugging_key(tenant_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\services\plugin\plugin_service.py", line 138, in get_debugging_key
return manager.get_debugging_key(tenant_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\core\plugin\impl\debugging.py", line 15, in get_debugging_key
response = self._request_with_plugin_daemon_response("POST", f"plugin/{tenant_id}/debugging/key", Response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\workspace\node\awesome-dify\api\core\plugin\impl\base.py", line 170, in _request_with_plugin_daemon_response
self._handle_plugin_daemon_error(error.error_type, error.message)
File "D:\dev\workspace\node\awesome-dify\api\core\plugin\impl\base.py", line 247, in _handle_plugin_daemon_error
raise PluginDaemonInternalServerError(description=message)

dify-plugin-daemon.log:

2025/07/21 17:26:11 D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/db/executor.go:259 record not found
[0.503ms] [rows:0] SELECT * FROM "plugins" WHERE plugin_unique_identifier = 'langgenius/azure_openai:0.0.20@01e82382fa5c7dec994cad1a5a80a73b3d845e4b54fc5e22bbcc57cf296c3f5b' ORDER BY "plugins"."id" LIMIT 1
[GIN] 2025/07/21 - 17:26:11 | 200 | 5.4266ms | 127.0.0.1 | POST "/plugin/7d2e13d3-4b73-4fbf-9df6-45908b74ddc3/management/install/identifiers"
[GIN] 2025/07/21 - 17:26:12 | 200 | 0s | 127.0.0.1 | GET "/plugin/7d2e13d3-4b73-4fbf-9df6-45908b74ddc3/management/install/tasks?page=1&page_size=100"
[GIN] 2025/07/21 - 17:26:12 | 200 | 503.3µs | 127.0.0.1 | GET "/plugin/7d2e13d3-4b73-4fbf-9df6-45908b74ddc3/management/install/tasks/682550cb-876b-4e87-9498-bd9aa1f8561d"
2025/07/21 17:26:12 factory.go:28: [ERROR]PluginDaemonInternalServerError: redis: Watch requires at least one key
goroutine 833 [running]:
runtime/debug.Stack()
D:/dev/env/go/src/runtime/debug/stack.go:26 +0x6b
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x3aa5880, 0xc000890620})
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/types/exception/factory.go:27 +0x35
github.com/langgenius/dify-plugin-daemon/internal/service.GetRemoteDebuggingKey({0xc000a2200d, 0x24})
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/service/debugging.go:19 +0xec
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.GetRemoteDebuggingKey.func1({{0xc000a2200d, 0x24}})
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/controllers/remote_debugging.go:12 +0x30
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0xc00052c300, 0xc000a34f08)
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/controllers/base.go:31 +0x3f4
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.GetRemoteDebuggingKey(0xc00052c300)
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/controllers/remote_debugging.go:10 +0x6b
github.com/gin-gonic/gin.(*Context).Next(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a
github.com/langgenius/dify-plugin-daemon/internal/server.CheckingKey.func1(0xc00052c300)
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/middleware.go:24 +0x75
github.com/gin-gonic/gin.(*Context).Next(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a
github.com/langgenius/dify-plugin-daemon/internal/server.CheckingKey.func1(0xc00052c300)
D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/middleware.go:24 +0x75
github.com/gin-gonic/gin.(*Context).Next(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0xfd
github.com/gin-gonic/gin.(*Context).Next(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xf2
github.com/gin-gonic/gin.(*Context).Next(0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000594000, 0xc00052c300)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x42a
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000594000, {0x3ad5110, 0xc000592380}, 0xc00029a140)
C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0xbc
net/http.serverHandler.ServeHTTP({0xc000a26000}, {0x3ad5110, 0xc000592380}, 0xc00029a140)
D:/dev/env/go/src/net/http/server.go:3301 +0x257
net/http.(*conn).serve(0xc000885560, {0x3ada070, 0xc000878d70})
D:/dev/env/go/src/net/http/server.go:2102 +0x1b75
created by net/http.(*Server).Serve in goroutine 98
D:/dev/env/go/src/net/http/server.go:3454 +0xa9a

✔️ Error log

No response

Originally created by @AngryMills on GitHub (Jul 21, 2025). ### 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 1.6.0 ### Plugin version dify-plugin-daemon-0.1.3 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce os: windows started apps: dify-api、dify-web、dify-plugin-daemon phenomenon: install plugins failed third: postgresql、redis are all ok,tables prepared screen snapshots: <img width="1772" height="912" alt="Image" src="https://github.com/user-attachments/assets/95e57cfc-f306-4106-9ea0-33243c69f76d" /> error log: dify-api.log: 025-07-21 06:24:18,170 INFO [_internal.py:97] 127.0.0.1 - - [21/Jul/2025 14:24:18] "GET /console/api/workspaces/current/plugin/debugging-key HTTP/1.1" 500 - 2025-07-21 06:24:57,855 INFO [_internal.py:97] 127.0.0.1 - - [21/Jul/2025 14:24:57] "OPTIONS /console/api/workspaces/current/plugin/debugging-key HTTP/1.1" 200 - 2025-07-21 06:24:58,203 ERROR [app.py:875] f45fd70b92 Exception on /console/api/workspaces/current/plugin/debugging-key [GET] Traceback (most recent call last): File "D:\dev\workspace\node\awesome-dify\.venv\Lib\site-packages\flask\app.py", line 917, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\.venv\Lib\site-packages\flask\app.py", line 902, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\.venv\Lib\site-packages\flask_restful\__init__.py", line 489, in wrapper resp = resource(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\.venv\Lib\site-packages\flask\views.py", line 110, in view return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\.venv\Lib\site-packages\flask_restful\__init__.py", line 604, in dispatch_request resp = meth(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\controllers\console\wraps.py", line 210, in decorated return view(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\libs\login.py", line 61, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\controllers\console\wraps.py", line 31, in decorated return view(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\controllers\console\workspace\__init__.py", line 32, in decorated return view(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\controllers\console\workspace\plugin.py", line 31, in get "key": PluginService.get_debugging_key(tenant_id), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\services\plugin\plugin_service.py", line 138, in get_debugging_key return manager.get_debugging_key(tenant_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\core\plugin\impl\debugging.py", line 15, in get_debugging_key response = self._request_with_plugin_daemon_response("POST", f"plugin/{tenant_id}/debugging/key", Response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\dev\workspace\node\awesome-dify\api\core\plugin\impl\base.py", line 170, in _request_with_plugin_daemon_response self._handle_plugin_daemon_error(error.error_type, error.message) File "D:\dev\workspace\node\awesome-dify\api\core\plugin\impl\base.py", line 247, in _handle_plugin_daemon_error raise PluginDaemonInternalServerError(description=message) dify-plugin-daemon.log: 2025/07/21 17:26:11 D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/db/executor.go:259 record not found [0.503ms] [rows:0] SELECT * FROM "plugins" WHERE plugin_unique_identifier = 'langgenius/azure_openai:0.0.20@01e82382fa5c7dec994cad1a5a80a73b3d845e4b54fc5e22bbcc57cf296c3f5b' ORDER BY "plugins"."id" LIMIT 1 [GIN] 2025/07/21 - 17:26:11 | 200 | 5.4266ms | 127.0.0.1 | POST "/plugin/7d2e13d3-4b73-4fbf-9df6-45908b74ddc3/management/install/identifiers" [GIN] 2025/07/21 - 17:26:12 | 200 | 0s | 127.0.0.1 | GET "/plugin/7d2e13d3-4b73-4fbf-9df6-45908b74ddc3/management/install/tasks?page=1&page_size=100" [GIN] 2025/07/21 - 17:26:12 | 200 | 503.3µs | 127.0.0.1 | GET "/plugin/7d2e13d3-4b73-4fbf-9df6-45908b74ddc3/management/install/tasks/682550cb-876b-4e87-9498-bd9aa1f8561d" 2025/07/21 17:26:12 factory.go:28: [ERROR]PluginDaemonInternalServerError: redis: Watch requires at least one key goroutine 833 [running]: runtime/debug.Stack() D:/dev/env/go/src/runtime/debug/stack.go:26 +0x6b github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x3aa5880, 0xc000890620}) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/types/exception/factory.go:27 +0x35 github.com/langgenius/dify-plugin-daemon/internal/service.GetRemoteDebuggingKey({0xc000a2200d, 0x24}) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/service/debugging.go:19 +0xec github.com/langgenius/dify-plugin-daemon/internal/server/controllers.GetRemoteDebuggingKey.func1({{0xc000a2200d, 0x24}}) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/controllers/remote_debugging.go:12 +0x30 github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0xc00052c300, 0xc000a34f08) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/controllers/base.go:31 +0x3f4 github.com/langgenius/dify-plugin-daemon/internal/server/controllers.GetRemoteDebuggingKey(0xc00052c300) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/controllers/remote_debugging.go:10 +0x6b github.com/gin-gonic/gin.(*Context).Next(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a github.com/langgenius/dify-plugin-daemon/internal/server.CheckingKey.func1(0xc00052c300) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/middleware.go:24 +0x75 github.com/gin-gonic/gin.(*Context).Next(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a github.com/langgenius/dify-plugin-daemon/internal/server.CheckingKey.func1(0xc00052c300) D:/dev/workspace/go/awesome-dify-plugin-daemon/internal/server/middleware.go:24 +0x75 github.com/gin-gonic/gin.(*Context).Next(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0xfd github.com/gin-gonic/gin.(*Context).Next(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xf2 github.com/gin-gonic/gin.(*Context).Next(0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x7a github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000594000, 0xc00052c300) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x42a github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000594000, {0x3ad5110, 0xc000592380}, 0xc00029a140) C:/Users/administor/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0xbc net/http.serverHandler.ServeHTTP({0xc000a26000}, {0x3ad5110, 0xc000592380}, 0xc00029a140) D:/dev/env/go/src/net/http/server.go:3301 +0x257 net/http.(*conn).serve(0xc000885560, {0x3ada070, 0xc000878d70}) D:/dev/env/go/src/net/http/server.go:2102 +0x1b75 created by net/http.(*Server).Serve in goroutine 98 D:/dev/env/go/src/net/http/server.go:3454 +0xa9a ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:19:29 -05:00
yindo closed this issue 2026-02-16 10:19:29 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 18, 2025):

Hi, @AngryMills. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported an error "plugin_unique_identifier is not valid: \langgenius\anthropic" during plugin installation on a self-hosted Dify v1.6.0 with plugin daemon 0.1.3 on Windows.
  • PostgreSQL and Redis services are running fine, but the installation fails with a 500 error related to plugin debugging key retrieval.
  • The issue occurs specifically during plugin installation and debugging key API calls.
  • No further updates or responses have been provided since the initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here to keep the discussion open.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @AngryMills. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported an error "plugin_unique_identifier is not valid: \langgenius\anthropic" during plugin installation on a self-hosted Dify v1.6.0 with plugin daemon 0.1.3 on Windows. - PostgreSQL and Redis services are running fine, but the installation fails with a 500 error related to plugin debugging key retrieval. - The issue occurs specifically during plugin installation and debugging key API calls. - No further updates or responses have been provided since the initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here to keep the discussion open. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#465