mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
watcher.go:73: [ERROR]list installed plugins failed: plugin_unique_identifier is not valid: \langgenius\anthropic #465
Reference in New Issue
Block 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 @AngryMills on GitHub (Jul 21, 2025).
Self Checks
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:
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
@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:
Next Steps:
Thank you for your understanding and contribution!