0.3.0-local bug,endpoint plugin error。 #188

Closed
opened 2026-02-16 00:20:24 -05:00 by yindo · 13 comments
Owner

Originally created by @caolicaoli on GitHub (Sep 22, 2025).

[GIN] 2025/09/23 - 10:38:40 | 200 | 14.356212ms | 10.42.51.40 | GET "/plugin/8534187d-8230-4ca3-896b-b260e8be4b87/endpoint/list/plugin?plugin_id=hjlarry%2Fmcp-server&page=1&page_size=100"
2025/09/23 10:38:42 factory.go:28: [ERROR]PluginDaemonInternalServerError: failed to decrypt settings: data is nil
goroutine 760 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x299c120, 0xc0013c8a80})
/app/internal/types/exception/factory.go:27 +0x27
github.com/langgenius/dify-plugin-daemon/internal/service.ListPluginEndpoints({0xc00047ebdc, 0x24}, {0xc000054eb8, 0x12}, 0x23d80a0?, 0xc00140cea0?)
/app/internal/service/endpoint.go:402 +0x751
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints.func1({{0xc00047ebdc, 0x24}, {0xc000054eb8, 0x12}, 0x1, 0x64})
/app/internal/server/controllers/endpoint.go:57 +0x4b
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0xc000bd1900, 0xc0007a1708)
/app/internal/server/controllers/base.go:31 +0x224
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints(0x266ddab?)
/app/internal/server/controllers/endpoint.go:46 +0x33
github.com/gin-gonic/gin.(*Context).Next(0xc000bd1900)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0xc000bd1900)
/app/internal/server/middleware.go:26 +0x95
github.com/gin-gonic/gin.(*Context).Next(0xc000bd1900)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0xc000c79080?)
/app/internal/server/controllers/health_check.go:20 +0x25
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000bd1900)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000bd1900)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0003861a0, 0xc000bd1900)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0003861a0, {0x29cb6f0, 0xc00017d0a0}, 0xc000329400)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2
net/http.serverHandler.ServeHTTP({0xc00140ccc0?}, {0x29cb6f0?, 0xc00017d0a0?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc0014121b0, {0x29cfff8, 0xc00072ac60})
/usr/local/go/src/net/http/server.go:2092 +0x5d0
created by net/http.(*Server).Serve in goroutine 15
/usr/local/go/src/net/http/server.go:3360 +0x485

Originally created by @caolicaoli on GitHub (Sep 22, 2025). [GIN] 2025/09/23 - 10:38:40 | 200 | 14.356212ms | 10.42.51.40 | GET "/plugin/8534187d-8230-4ca3-896b-b260e8be4b87/endpoint/list/plugin?plugin_id=hjlarry%2Fmcp-server&page=1&page_size=100" 2025/09/23 10:38:42 factory.go:28: [ERROR]PluginDaemonInternalServerError: failed to decrypt settings: data is nil goroutine 760 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x299c120, 0xc0013c8a80}) /app/internal/types/exception/factory.go:27 +0x27 github.com/langgenius/dify-plugin-daemon/internal/service.ListPluginEndpoints({0xc00047ebdc, 0x24}, {0xc000054eb8, 0x12}, 0x23d80a0?, 0xc00140cea0?) /app/internal/service/endpoint.go:402 +0x751 github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints.func1({{0xc00047ebdc, 0x24}, {0xc000054eb8, 0x12}, 0x1, 0x64}) /app/internal/server/controllers/endpoint.go:57 +0x4b github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0xc000bd1900, 0xc0007a1708) /app/internal/server/controllers/base.go:31 +0x224 github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints(0x266ddab?) /app/internal/server/controllers/endpoint.go:46 +0x33 github.com/gin-gonic/gin.(*Context).Next(0xc000bd1900) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0xc000bd1900) /app/internal/server/middleware.go:26 +0x95 github.com/gin-gonic/gin.(*Context).Next(0xc000bd1900) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0xc000c79080?) /app/internal/server/controllers/health_check.go:20 +0x25 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000bd1900) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000bd1900) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0003861a0, 0xc000bd1900) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892 github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0003861a0, {0x29cb6f0, 0xc00017d0a0}, 0xc000329400) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2 net/http.serverHandler.ServeHTTP({0xc00140ccc0?}, {0x29cb6f0?, 0xc00017d0a0?}, 0x6?) /usr/local/go/src/net/http/server.go:3210 +0x8e net/http.(*conn).serve(0xc0014121b0, {0x29cfff8, 0xc00072ac60}) /usr/local/go/src/net/http/server.go:2092 +0x5d0 created by net/http.(*Server).Serve in goroutine 15 /usr/local/go/src/net/http/server.go:3360 +0x485
yindo closed this issue 2026-02-16 00:20:24 -05:00
Author
Owner

@rotoni commented on GitHub (Sep 23, 2025):

I am also encountering this issue on 0.3.0-local.

When trying to configure the Slack Bot plugin, the UI only shows Internal Server Error and the settings cannot be saved.
In the PluginDaemon logs, I see the exact same error:
[ERROR] PluginDaemonInternalServerError: failed to decrypt settings: data is nil

Environment:

  • Dify API: 1.9.0
  • PluginDaemon: 0.3.0-local
  • Deployment: AWS ECS (Fargate)

As a result, the plugin settings are never persisted.
This looks exactly the same as what has been reported in this issue.


2025年9月23日 20:26 | 2025/09/23 11:26:54 factory.go:28: [ERROR]PluginDaemonInternalServerError: failed to decrypt settings: data is nil | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
-- | -- | -- | --
2025年9月23日 20:26 | goroutine 22860 [running]: | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | runtime/debug.Stack() | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /usr/local/go/src/runtime/debug/stack.go:26 +0x64 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23a4640, 0x400046cee0}) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/types/exception/factory.go:27 +0x24 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/service.ListPluginEndpoints({0x400040bb9c, 0x24}, {0x4001b5e3a8, 0x14}, 0x1de1f60?, 0x4000b98210?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/service/endpoint.go:402 +0x580 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints.func1({{0x400040bb9c, 0x24}, {0x4001b5e3a8, 0x14}, 0x1, 0x64}) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/server/controllers/endpoint.go:57 +0x44 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x40008b3d00, 0x4000bfb6c8) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/server/controllers/base.go:31 +0x210 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints(0x40006d57a8?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/server/controllers/endpoint.go:46 +0x3c | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/server/middleware.go:26 +0x98 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x40006d57b8?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /app/internal/server/controllers/health_check.go:20 +0x5c | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(...) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(...) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.LoggerWithConfig.func1(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(...) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x40004bc340, 0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40004bc340, {0x23d3dd0, 0x40009e2460}, 0x4000aac140) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | net/http.serverHandler.ServeHTTP({0x4000b98030?}, {0x23d3dd0?, 0x40009e2460?}, 0x6?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /usr/local/go/src/net/http/server.go:3210 +0xbc | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | net/http.(*conn).serve(0x4000a8d0e0, {0x23d8738, 0x40006851d0}) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /usr/local/go/src/net/http/server.go:2092 +0x4fc | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | created by net/http.(*Server).Serve in goroutine 50 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | /usr/local/go/src/net/http/server.go:3360 +0x3dc | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 |  | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
2025年9月23日 20:26 | [GIN] 2025/09/23 - 11:26:54 \| 200 \| 50.42833ms \| 127.0.0.1 \| GET "/plugin/ef7bcebc-eeff-4df5-b33a-80dbe74615c7/endpoint/list/plugin?plugin_id=langgenius%2Fslack-bot&page=1&page_size=100" | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon
@rotoni commented on GitHub (Sep 23, 2025): I am also encountering this issue on `0.3.0-local`. When trying to configure the Slack Bot plugin, the UI only shows **Internal Server Error** and the settings cannot be saved. In the PluginDaemon logs, I see the exact same error: `[ERROR] PluginDaemonInternalServerError: failed to decrypt settings: data is nil` Environment: - Dify API: 1.9.0 - PluginDaemon: 0.3.0-local - Deployment: AWS ECS (Fargate) As a result, the plugin settings are never persisted. This looks exactly the same as what has been reported in this issue. ``` 2025年9月23日 20:26 | 2025/09/23 11:26:54 factory.go:28: [ERROR]PluginDaemonInternalServerError: failed to decrypt settings: data is nil | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon -- | -- | -- | -- 2025年9月23日 20:26 | goroutine 22860 [running]: | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | runtime/debug.Stack() | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /usr/local/go/src/runtime/debug/stack.go:26 +0x64 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23a4640, 0x400046cee0}) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/types/exception/factory.go:27 +0x24 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/service.ListPluginEndpoints({0x400040bb9c, 0x24}, {0x4001b5e3a8, 0x14}, 0x1de1f60?, 0x4000b98210?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/service/endpoint.go:402 +0x580 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints.func1({{0x400040bb9c, 0x24}, {0x4001b5e3a8, 0x14}, 0x1, 0x64}) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/server/controllers/endpoint.go:57 +0x44 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x40008b3d00, 0x4000bfb6c8) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/server/controllers/base.go:31 +0x210 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints(0x40006d57a8?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/server/controllers/endpoint.go:46 +0x3c | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/server/middleware.go:26 +0x98 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x40006d57b8?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /app/internal/server/controllers/health_check.go:20 +0x5c | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(...) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(...) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.LoggerWithConfig.func1(0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Context).Next(...) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x40004bc340, 0x40008b3d00) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40004bc340, {0x23d3dd0, 0x40009e2460}, 0x4000aac140) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | net/http.serverHandler.ServeHTTP({0x4000b98030?}, {0x23d3dd0?, 0x40009e2460?}, 0x6?) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /usr/local/go/src/net/http/server.go:3210 +0xbc | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | net/http.(*conn).serve(0x4000a8d0e0, {0x23d8738, 0x40006851d0}) | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /usr/local/go/src/net/http/server.go:2092 +0x4fc | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | created by net/http.(*Server).Serve in goroutine 50 | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | /usr/local/go/src/net/http/server.go:3360 +0x3dc | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 |  | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon 2025年9月23日 20:26 | [GIN] 2025/09/23 - 11:26:54 \| 200 \| 50.42833ms \| 127.0.0.1 \| GET "/plugin/ef7bcebc-eeff-4df5-b33a-80dbe74615c7/endpoint/list/plugin?plugin_id=langgenius%2Fslack-bot&page=1&page_size=100" | 46dd30676a5a4380ac6af1c7dc261665 | PluginDaemon ```
Author
Owner

@caolicaoli commented on GitHub (Sep 23, 2025):

@Mairuis i tried main-local docker image, did not work....

main-local

Last pushed about 10 hours by yeuoly

docker pull langgenius/dify-plugin-daemon:main-local

@caolicaoli commented on GitHub (Sep 23, 2025): @Mairuis i tried main-local docker image, did not work.... [main-local](https://hub.docker.com/layers/langgenius/dify-plugin-daemon/main-local/images/sha256-d6690787b62df6422e2b788da9134ad09eca93ada29b106c4b6b0a124b30deac) Last pushed about 10 hours by [yeuoly](https://hub.docker.com/u/yeuoly) docker pull langgenius/dify-plugin-daemon:main-local
Author
Owner

@Mairuis commented on GitHub (Sep 23, 2025):

Can you provide any new exception logs? This will help us further analyze the issue and find a solution. Please paste the latest log information here for our review.

@Mairuis commented on GitHub (Sep 23, 2025): Can you provide any new exception logs? This will help us further analyze the issue and find a solution. Please paste the latest log information here for our review.
Author
Owner

@paranoiagu commented on GitHub (Sep 23, 2025):

Here is the log. I use langgenius/dify-plugin-daemon:main-local

plugin_daemon-1  | [GIN] 2025/09/24 - 03:34:59 | 200 |     7.45944ms |      172.21.0.8 | GET      "/plugin/78c3b296-605a-4a68-af3c-9add2af506b1/endpoint/list/plugin?plugin_id=langgenius%2Foaicompat_dify_app&page=1&page_size=100"
plugin_daemon-1  | 2025/09/24 03:35:01 factory.go:28: [ERROR]PluginDaemonInternalServerError: failed to decrypt settings: data is nil
plugin_daemon-1  | goroutine 422 [running]:
plugin_daemon-1  | runtime/debug.Stack()
plugin_daemon-1  |      /usr/local/go/src/runtime/debug/stack.go:26 +0x5e
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x299c3a0, 0xc0021a7090})
plugin_daemon-1  |      /app/internal/types/exception/factory.go:27 +0x27
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/service.ListPluginEndpoints({0xc001a807ec, 0x24}, {0xc00091f920, 0x1d}, 0x23d80e0?, 0xc0018c0120?)
plugin_daemon-1  |      /app/internal/service/endpoint.go:406 +0x758
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints.func1({{0xc001a807ec, 0x24}, {0xc00091f920, 0x1d}, 0x1, 0x64})
plugin_daemon-1  |      /app/internal/server/controllers/endpoint.go:57 +0x4b
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0xc000c26e00, 0xc001905708)
plugin_daemon-1  |      /app/internal/server/controllers/base.go:31 +0x224
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints(0x266de0b?)
plugin_daemon-1  |      /app/internal/server/controllers/endpoint.go:46 +0x33
plugin_daemon-1  | github.com/gin-gonic/gin.(*Context).Next(0xc000c26e00)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0xc000c26e00)
plugin_daemon-1  |      /app/internal/server/middleware.go:26 +0x95
plugin_daemon-1  | github.com/gin-gonic/gin.(*Context).Next(0xc000c26e00)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
plugin_daemon-1  | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0xc000f146e0?)
plugin_daemon-1  |      /app/internal/server/controllers/health_check.go:20 +0x25
plugin_daemon-1  | github.com/gin-gonic/gin.(*Context).Next(...)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
plugin_daemon-1  | github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000c26e00)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x6f
plugin_daemon-1  | github.com/gin-gonic/gin.(*Context).Next(...)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
plugin_daemon-1  | github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000c26e00)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5
plugin_daemon-1  | github.com/gin-gonic/gin.(*Context).Next(...)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
plugin_daemon-1  | github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00019c340, 0xc000c26e00)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892
plugin_daemon-1  | github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00019c340, {0x29cb970, 0xc0012ad180}, 0xc001884000)
plugin_daemon-1  |      /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2
plugin_daemon-1  | net/http.serverHandler.ServeHTTP({0xc0017bfec0?}, {0x29cb970?, 0xc0012ad180?}, 0x6?)
plugin_daemon-1  |      /usr/local/go/src/net/http/server.go:3210 +0x8e
plugin_daemon-1  | net/http.(*conn).serve(0xc0013dbb90, {0x29d0278, 0xc00089b320})
plugin_daemon-1  |      /usr/local/go/src/net/http/server.go:2092 +0x5d0
plugin_daemon-1  | created by net/http.(*Server).Serve in goroutine 83
plugin_daemon-1  |      /usr/local/go/src/net/http/server.go:3360 +0x485
@paranoiagu commented on GitHub (Sep 23, 2025): Here is the log. I use langgenius/dify-plugin-daemon:main-local ``` plugin_daemon-1 | [GIN] 2025/09/24 - 03:34:59 | 200 | 7.45944ms | 172.21.0.8 | GET "/plugin/78c3b296-605a-4a68-af3c-9add2af506b1/endpoint/list/plugin?plugin_id=langgenius%2Foaicompat_dify_app&page=1&page_size=100" plugin_daemon-1 | 2025/09/24 03:35:01 factory.go:28: [ERROR]PluginDaemonInternalServerError: failed to decrypt settings: data is nil plugin_daemon-1 | goroutine 422 [running]: plugin_daemon-1 | runtime/debug.Stack() plugin_daemon-1 | /usr/local/go/src/runtime/debug/stack.go:26 +0x5e plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x299c3a0, 0xc0021a7090}) plugin_daemon-1 | /app/internal/types/exception/factory.go:27 +0x27 plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/service.ListPluginEndpoints({0xc001a807ec, 0x24}, {0xc00091f920, 0x1d}, 0x23d80e0?, 0xc0018c0120?) plugin_daemon-1 | /app/internal/service/endpoint.go:406 +0x758 plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints.func1({{0xc001a807ec, 0x24}, {0xc00091f920, 0x1d}, 0x1, 0x64}) plugin_daemon-1 | /app/internal/server/controllers/endpoint.go:57 +0x4b plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0xc000c26e00, 0xc001905708) plugin_daemon-1 | /app/internal/server/controllers/base.go:31 +0x224 plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/server/controllers.ListPluginEndpoints(0x266de0b?) plugin_daemon-1 | /app/internal/server/controllers/endpoint.go:46 +0x33 plugin_daemon-1 | github.com/gin-gonic/gin.(*Context).Next(0xc000c26e00) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0xc000c26e00) plugin_daemon-1 | /app/internal/server/middleware.go:26 +0x95 plugin_daemon-1 | github.com/gin-gonic/gin.(*Context).Next(0xc000c26e00) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b plugin_daemon-1 | github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0xc000f146e0?) plugin_daemon-1 | /app/internal/server/controllers/health_check.go:20 +0x25 plugin_daemon-1 | github.com/gin-gonic/gin.(*Context).Next(...) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 plugin_daemon-1 | github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000c26e00) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x6f plugin_daemon-1 | github.com/gin-gonic/gin.(*Context).Next(...) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 plugin_daemon-1 | github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000c26e00) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5 plugin_daemon-1 | github.com/gin-gonic/gin.(*Context).Next(...) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 plugin_daemon-1 | github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00019c340, 0xc000c26e00) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892 plugin_daemon-1 | github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00019c340, {0x29cb970, 0xc0012ad180}, 0xc001884000) plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2 plugin_daemon-1 | net/http.serverHandler.ServeHTTP({0xc0017bfec0?}, {0x29cb970?, 0xc0012ad180?}, 0x6?) plugin_daemon-1 | /usr/local/go/src/net/http/server.go:3210 +0x8e plugin_daemon-1 | net/http.(*conn).serve(0xc0013dbb90, {0x29d0278, 0xc00089b320}) plugin_daemon-1 | /usr/local/go/src/net/http/server.go:2092 +0x5d0 plugin_daemon-1 | created by net/http.(*Server).Serve in goroutine 83 plugin_daemon-1 | /usr/local/go/src/net/http/server.go:3360 +0x485 ```
Author
Owner

@caolicaoli commented on GitHub (Sep 24, 2025):

ListPluginEndpoints

yes, same error for me。。。。。。

dify-web:1.9.0
dify-api:1.9.0
dify-plugin-daemon:main-local

@caolicaoli commented on GitHub (Sep 24, 2025): > ListPluginEndpoints yes, same error for me。。。。。。 dify-web:1.9.0 dify-api:1.9.0 dify-plugin-daemon:main-local
Author
Owner

@paranoiagu commented on GitHub (Sep 24, 2025):

I got the exception only when I use “OpenAI Compatible Dify App” plugin .

@paranoiagu commented on GitHub (Sep 24, 2025): I got the exception only when I use “OpenAI Compatible Dify App” plugin .
Author
Owner

@caolicaoli commented on GitHub (Sep 24, 2025):

I got the exception only when I use “OpenAI Compatible Dify App” plugin .

i think it is for all endpoint plugin.......

@caolicaoli commented on GitHub (Sep 24, 2025): > I got the exception only when I use “OpenAI Compatible Dify App” plugin . i think it is for all endpoint plugin.......
Author
Owner

@rotoni commented on GitHub (Sep 24, 2025):

I think same issue.
https://github.com/langgenius/dify/issues/26143

@rotoni commented on GitHub (Sep 24, 2025): I think same issue. https://github.com/langgenius/dify/issues/26143
Author
Owner

@Cluas commented on GitHub (Sep 24, 2025):

https://github.com/langgenius/dify/pull/26109

@Cluas commented on GitHub (Sep 24, 2025): https://github.com/langgenius/dify/pull/26109
Author
Owner

@caolicaoli commented on GitHub (Sep 26, 2025):

@Cluas 我看到现在为止还没有合并到主分支,有什么办法可以临时在我本地修一下么?比如修改数据库数据等方式?谢谢

@caolicaoli commented on GitHub (Sep 26, 2025): @Cluas 我看到现在为止还没有合并到主分支,有什么办法可以临时在我本地修一下么?比如修改数据库数据等方式?谢谢
Author
Owner

@Cluas commented on GitHub (Sep 26, 2025):

@Cluas 我看到现在为止还没有合并到主分支,有什么办法可以临时在我本地修一下么?比如修改数据库数据等方式?谢谢

You can git cherry-pick https://github.com/langgenius/dify/pull/26109/commits

@Cluas commented on GitHub (Sep 26, 2025): > [@Cluas](https://github.com/Cluas) 我看到现在为止还没有合并到主分支,有什么办法可以临时在我本地修一下么?比如修改数据库数据等方式?谢谢 You can `git cherry-pick` https://github.com/langgenius/dify/pull/26109/commits
Author
Owner

@Cluas commented on GitHub (Sep 26, 2025):

https://github.com/langgenius/dify/pull/26109 merged

@Cluas commented on GitHub (Sep 26, 2025): https://github.com/langgenius/dify/pull/26109 merged
Author
Owner

@caolicaoli commented on GitHub (Sep 28, 2025):

langgenius/dify#26109 merged

yes, solved...... xiexie

@caolicaoli commented on GitHub (Sep 28, 2025): > [langgenius/dify#26109](https://github.com/langgenius/dify/pull/26109) merged yes, solved...... xiexie
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#188