mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
langgenius/openai:0.2.7 is not active #840
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 @mbotsu on GitHub (Nov 28, 2025).
Self Checks
Dify version
1.10.1
Plugin version
langgenius/openai:0.2.7
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When running parallel from API,
plugin langgenius/openai:0.2.7 is not active.This did not happen in 1.8.0.
The result is the same after deleting and installing the plugin.
This is done via FunctionCalling on AI Agents.
.env
docker-compose.yaml
✔️ Error log
[GIN] 2025/11/28 - 08:10:26 | 200 | 854.75µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.753834ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 13.316805381s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
[GIN] 2025/11/28 - 08:10:27 | 200 | 872.833µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.177792ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 871.292µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 5.444667ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/models?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 48.812083ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.79025ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 773.375µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 13.82880359s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.319292ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.270959ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 826.708µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 981.125µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 820.875µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.657917ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 875.75µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.676708ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 6.267375ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/models?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 930.209µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:27 | 200 | 7.29425ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:27 | 200 | 4.424875ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/models?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:28 | 200 | 7.519ms | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/list?page=1&page_size=256&response_type=paged"
[GIN] 2025/11/28 - 08:10:28 | 200 | 774.375µs | 10.89.0.19 | GET "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/management/tools?page=1&page_size=256"
[GIN] 2025/11/28 - 08:10:28 | 200 | 27.160374554s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
[GIN] 2025/11/28 - 08:10:28 | 200 | 13.200152756s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
[GIN] 2025/11/28 - 08:10:30 | 200 | 15.110107549s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
[GIN] 2025/11/28 - 08:10:34 | 200 | 13.989894715s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
2025/11/28 08:12:00 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 62.340835 seconds, it may be dead
2025/11/28 08:12:05 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 67.341485 seconds, it may be dead
2025/11/28 08:12:10 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 72.347286 seconds, it may be dead
2025/11/28 08:12:15 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 77.341477 seconds, it may be dead
2025/11/28 08:12:20 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 82.341480 seconds, it may be dead
2025/11/28 08:12:25 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 87.341608 seconds, it may be dead
2025/11/28 08:12:30 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 92.343441 seconds, it may be dead
2025/11/28 08:12:35 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 97.342648 seconds, it may be dead
2025/11/28 08:12:40 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 102.341051 seconds, it may be dead
2025/11/28 08:12:45 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 107.341464 seconds, it may be dead
2025/11/28 08:12:50 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 112.340453 seconds, it may be dead
2025/11/28 08:12:55 stdio.go:256: [WARN]plugin langgenius/openai:0.2.7 is not active for 117.342538 seconds, it may be dead
2025/11/28 08:13:00 stdio.go:248: [ERROR]plugin langgenius/openai:0.2.7 is not active for 122.344611 seconds, it may be dead, killing and restarting it
2025/11/28 08:13:00 run.go:135: [ERROR]plugin langgenius/openai:0.2.7 exited with error: signal: killed
2025/11/28 08:13:00 run.go:185: [INFO]plugin langgenius/openai:0.2.7 stopped
2025/11/28 08:13:05 run.go:147: [INFO]plugin langgenius/openai:0.2.7 started
2025/11/28 08:13:07 stdio.go:173: [INFO]plugin langgenius/openai:0.2.7: Installed model: openai
[GIN] 2025/11/28 - 08:14:11 | 200 | 4m10s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:26 | 200 | 4m25s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:26 | 200 | 4m26s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:27 | 200 | 4m26s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:31 | 200 | 4m30s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:33 | 200 | 4m32s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:37 | 200 | 4m36s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:38 | 200 | 4m37s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:38 | 200 | 4m37s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
[GIN] 2025/11/28 - 08:14:38 | 200 | 4m38s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/agent_strategy/invoke"
2025/11/28 08:20:16 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout
goroutine 2797 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x64
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23d5e40, 0x40018f4520})
/app/internal/types/exception/factory.go:27 +0x24
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEService[...](0x4001d3b090, 0x2098996, 0x258?)
/app/internal/service/base_sse.go:84 +0x434
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEWithSession[...](0x4001d3b128, {0x2098996, 0x5}, {0x20a773a, 0xa}, 0x4001806000, 0x400026f600, 0x258)
/app/internal/service/base_sse.go:114 +0x180
github.com/langgenius/dify-plugin-daemon/internal/service.InvokeLLM(0x1004001d3b101?, 0x1e043e0?, 0x4001d46170?)
/app/internal/service/model.gen.go:21 +0x5c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4.1({{{0x4000f2091d, 0x24}, {0x4001dc2060, 0x24}}, {{0x0, 0x0}}, {0x40002da720, 0x58}, 0x0, 0x0, ...})
/app/internal/server/controllers/model.gen.go:20 +0x90
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...].func1()
/app/internal/server/controllers/base.go:53 +0x98
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x400026f600, 0x4001d3b488)
/app/internal/server/controllers/base.go:31 +0x228
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...](0xa?, 0x4001d3b4f8?)
/app/internal/server/controllers/base.go:37 +0x3c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4(0x400026f600)
/app/internal/server/controllers/model.gen.go:17 +0x80
github.com/gin-gonic/gin.(*Context).Next(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).InitClusterID.func4(0x400026f600)
/app/internal/server/middleware.go:182 +0x58
github.com/gin-gonic/gin.(*Context).Next(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).RedirectPluginInvoke.func3(0x400026f600)
/app/internal/server/middleware.go:109 +0x74
github.com/gin-gonic/gin.(*Context).Next(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).FetchPluginInstallation.func2(0x400026f600)
/app/internal/server/middleware.go:78 +0x1dc
github.com/gin-gonic/gin.(*Context).Next(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.CollectActiveDispatchRequests.func1(0x40009ee718?)
/app/internal/server/controllers/health_check.go:28 +0x5c
github.com/gin-gonic/gin.(*Context).Next(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x400026f600)
/app/internal/server/middleware.go:26 +0x98
github.com/gin-gonic/gin.(*Context).Next(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x40009ee7b8?)
/app/internal/server/controllers/health_check.go:20 +0x5c
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(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c
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(0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8
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(0x40001f2b60, 0x400026f600)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40001f2b60, {0x2405a90, 0x4001c7a9a0}, 0x4001c74000)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174
net/http.serverHandler.ServeHTTP({0x23f7e48?}, {0x2405a90?, 0x4001c7a9a0?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0xbc
net/http.(*conn).serve(0x40012f6510, {0x240a478, 0x4000782b40})
/usr/local/go/src/net/http/server.go:2092 +0x4fc
created by net/http.(*Server).Serve in goroutine 30
/usr/local/go/src/net/http/server.go:3360 +0x3dc
[GIN] 2025/11/28 - 08:20:16 | 200 | 10m0s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
2025/11/28 08:20:22 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout
goroutine 3429 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x64
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23d5e40, 0x40018f46d0})
/app/internal/types/exception/factory.go:27 +0x24
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEService[...](0x4000e77090, 0x2098996, 0x258?)
/app/internal/service/base_sse.go:84 +0x434
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEWithSession[...](0x4000e77128, {0x2098996, 0x5}, {0x20a773a, 0xa}, 0x40027325a0, 0x40007e8100, 0x258)
/app/internal/service/base_sse.go:114 +0x180
github.com/langgenius/dify-plugin-daemon/internal/service.InvokeLLM(0x1004000e77188?, 0x1e043e0?, 0x4000586aa0?)
/app/internal/service/model.gen.go:21 +0x5c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4.1({{{0x4001c6800d, 0x24}, {0x400006ae10, 0x24}}, {{0x0, 0x0}}, {0x4000a90e40, 0x58}, 0x0, 0x0, ...})
/app/internal/server/controllers/model.gen.go:20 +0x90
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...].func1()
/app/internal/server/controllers/base.go:53 +0x98
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x40007e8100, 0x4000e77488)
/app/internal/server/controllers/base.go:31 +0x228
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...](0xa?, 0x4000e774f8?)
/app/internal/server/controllers/base.go:37 +0x3c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4(0x40007e8100)
/app/internal/server/controllers/model.gen.go:17 +0x80
github.com/gin-gonic/gin.(*Context).Next(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).InitClusterID.func4(0x40007e8100)
/app/internal/server/middleware.go:182 +0x58
github.com/gin-gonic/gin.(*Context).Next(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).RedirectPluginInvoke.func3(0x40007e8100)
/app/internal/server/middleware.go:109 +0x74
github.com/gin-gonic/gin.(*Context).Next(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).FetchPluginInstallation.func2(0x40007e8100)
/app/internal/server/middleware.go:78 +0x1dc
github.com/gin-gonic/gin.(*Context).Next(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.CollectActiveDispatchRequests.func1(0x4001d2e718?)
/app/internal/server/controllers/health_check.go:28 +0x5c
github.com/gin-gonic/gin.(*Context).Next(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x40007e8100)
/app/internal/server/middleware.go:26 +0x98
github.com/gin-gonic/gin.(*Context).Next(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x4001d2e7b8?)
/app/internal/server/controllers/health_check.go:20 +0x5c
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(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c
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(0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8
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(0x40001f2b60, 0x40007e8100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40001f2b60, {0x2405a90, 0x400087c540}, 0x4001c2f680)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174
net/http.serverHandler.ServeHTTP({0x23f7e48?}, {0x2405a90?, 0x400087c540?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0xbc
net/http.(*conn).serve(0x40017550e0, {0x240a478, 0x4000782b40})
/usr/local/go/src/net/http/server.go:2092 +0x4fc
created by net/http.(*Server).Serve in goroutine 30
/usr/local/go/src/net/http/server.go:3360 +0x3dc
2025/11/28 08:20:26 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout
goroutine 3920 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x64
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23d5e40, 0x4001c22830})
/app/internal/types/exception/factory.go:27 +0x24
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEService[...](0x4001d1b090, 0x2098996, 0x258?)
/app/internal/service/base_sse.go:84 +0x434
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEWithSession[...](0x4001d1b128, {0x2098996, 0x5}, {0x20a773a, 0xa}, 0x4002691b00, 0x400050e200, 0x258)
/app/internal/service/base_sse.go:114 +0x180
github.com/langgenius/dify-plugin-daemon/internal/service.InvokeLLM(0x1004001d1b188?, 0x1e043e0?, 0x4002686850?)
/app/internal/service/model.gen.go:21 +0x5c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4.1({{{0x4000f20a5d, 0x24}, {0x400268ea80, 0x24}}, {{0x0, 0x0}}, {0x40019c6660, 0x58}, 0x0, 0x0, ...})
/app/internal/server/controllers/model.gen.go:20 +0x90
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...].func1()
/app/internal/server/controllers/base.go:53 +0x98
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x400050e200, 0x4001d1b488)
/app/internal/server/controllers/base.go:31 +0x228
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...](0xa?, 0x4001d1b4f8?)
/app/internal/server/controllers/base.go:37 +0x3c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4(0x400050e200)
/app/internal/server/controllers/model.gen.go:17 +0x80
github.com/gin-gonic/gin.(*Context).Next(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).InitClusterID.func4(0x400050e200)
/app/internal/server/middleware.go:182 +0x58
github.com/gin-gonic/gin.(*Context).Next(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).RedirectPluginInvoke.func3(0x400050e200)
/app/internal/server/middleware.go:109 +0x74
github.com/gin-gonic/gin.(*Context).Next(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).FetchPluginInstallation.func2(0x400050e200)
/app/internal/server/middleware.go:78 +0x1dc
github.com/gin-gonic/gin.(*Context).Next(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.CollectActiveDispatchRequests.func1(0x4002728718?)
/app/internal/server/controllers/health_check.go:28 +0x5c
github.com/gin-gonic/gin.(*Context).Next(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x400050e200)
/app/internal/server/middleware.go:26 +0x98
github.com/gin-gonic/gin.(*Context).Next(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x40027287b8?)
/app/internal/server/controllers/health_check.go:20 +0x5c
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(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c
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(0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8
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(0x40001f2b60, 0x400050e200)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40001f2b60, {0x2405a90, 0x400087cee0}, 0x40003628c0)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174
net/http.serverHandler.ServeHTTP({0x23f7e48?}, {0x2405a90?, 0x400087cee0?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0xbc
net/http.(*conn).serve(0x40023e0d80, {0x240a478, 0x4000782b40})
/usr/local/go/src/net/http/server.go:2092 +0x4fc
created by net/http.(*Server).Serve in goroutine 30
/usr/local/go/src/net/http/server.go:3360 +0x3dc
2025/11/28 08:20:27 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout
goroutine 4043 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x64
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23d5e40, 0x4001c228b0})
/app/internal/types/exception/factory.go:27 +0x24
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEService[...](0x40009a9090, 0x2098996, 0x258?)
/app/internal/service/base_sse.go:84 +0x434
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEWithSession[...](0x40009a9128, {0x2098996, 0x5}, {0x20a773a, 0xa}, 0x40022d6360, 0x40007e8500, 0x258)
/app/internal/service/base_sse.go:114 +0x180
github.com/langgenius/dify-plugin-daemon/internal/service.InvokeLLM(0x10040009a9188?, 0x1e043e0?, 0x4000afd000?)
/app/internal/service/model.gen.go:21 +0x5c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4.1({{{0x40019b600d, 0x24}, {0x40019b36e0, 0x24}}, {{0x0, 0x0}}, {0x40019c6cc0, 0x58}, 0x0, 0x0, ...})
/app/internal/server/controllers/model.gen.go:20 +0x90
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...].func1()
/app/internal/server/controllers/base.go:53 +0x98
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x40007e8500, 0x40009a9488)
/app/internal/server/controllers/base.go:31 +0x228
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...](0xa?, 0x40009a94f8?)
/app/internal/server/controllers/base.go:37 +0x3c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4(0x40007e8500)
/app/internal/server/controllers/model.gen.go:17 +0x80
github.com/gin-gonic/gin.(*Context).Next(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).InitClusterID.func4(0x40007e8500)
/app/internal/server/middleware.go:182 +0x58
github.com/gin-gonic/gin.(*Context).Next(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).RedirectPluginInvoke.func3(0x40007e8500)
/app/internal/server/middleware.go:109 +0x74
github.com/gin-gonic/gin.(*Context).Next(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).FetchPluginInstallation.func2(0x40007e8500)
/app/internal/server/middleware.go:78 +0x1dc
github.com/gin-gonic/gin.(*Context).Next(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.CollectActiveDispatchRequests.func1(0x40009f1718?)
/app/internal/server/controllers/health_check.go:28 +0x5c
github.com/gin-gonic/gin.(*Context).Next(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x40007e8500)
/app/internal/server/middleware.go:26 +0x98
github.com/gin-gonic/gin.(*Context).Next(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x40009f17b8?)
/app/internal/server/controllers/health_check.go:20 +0x5c
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(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c
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(0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8
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(0x40001f2b60, 0x40007e8500)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40001f2b60, {0x2405a90, 0x400087ce00}, 0x400324ab40)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174
net/http.serverHandler.ServeHTTP({0x23f7e48?}, {0x2405a90?, 0x400087ce00?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0xbc
net/http.(*conn).serve(0x40025e0870, {0x240a478, 0x4000782b40})
/usr/local/go/src/net/http/server.go:2092 +0x4fc
created by net/http.(*Server).Serve in goroutine 30
/usr/local/go/src/net/http/server.go:3360 +0x3dc
[GIN] 2025/11/28 - 08:20:27 | 200 | 10m0s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
2025/11/28 08:20:27 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout
goroutine 4136 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x64
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x23d5e40, 0x40018f5600})
/app/internal/types/exception/factory.go:27 +0x24
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEService[...](0x4001d37090, 0x2098996, 0x258?)
/app/internal/service/base_sse.go:84 +0x434
github.com/langgenius/dify-plugin-daemon/internal/service.baseSSEWithSession[...](0x4001d37128, {0x2098996, 0x5}, {0x20a773a, 0xa}, 0x400088fe60, 0x4001928300, 0x258)
/app/internal/service/base_sse.go:114 +0x180
github.com/langgenius/dify-plugin-daemon/internal/service.InvokeLLM(0x1004001d37188?, 0x1e043e0?, 0x40018c6360?)
/app/internal/service/model.gen.go:21 +0x5c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4.1({{{0x4000f2154d, 0x24}, {0x40023bc0f0, 0x24}}, {{0x0, 0x0}}, {0x40016d88a0, 0x58}, 0x0, 0x0, ...})
/app/internal/server/controllers/model.gen.go:20 +0x90
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...].func1()
/app/internal/server/controllers/base.go:53 +0x98
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindRequest[...](0x4001928300, 0x4001d37488)
/app/internal/server/controllers/base.go:31 +0x228
github.com/langgenius/dify-plugin-daemon/internal/server/controllers.BindPluginDispatchRequest[...](0xa?, 0x4001d374f8?)
/app/internal/server/controllers/base.go:37 +0x3c
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4(0x4001928300)
/app/internal/server/controllers/model.gen.go:17 +0x80
github.com/gin-gonic/gin.(*Context).Next(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).InitClusterID.func4(0x4001928300)
/app/internal/server/middleware.go:182 +0x58
github.com/gin-gonic/gin.(*Context).Next(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).RedirectPluginInvoke.func3(0x4001928300)
/app/internal/server/middleware.go:109 +0x74
github.com/gin-gonic/gin.(*Context).Next(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).FetchPluginInstallation.func2(0x4001928300)
/app/internal/server/middleware.go:78 +0x1dc
github.com/gin-gonic/gin.(*Context).Next(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.CollectActiveDispatchRequests.func1(0x4002728718?)
/app/internal/server/controllers/health_check.go:28 +0x5c
github.com/gin-gonic/gin.(*Context).Next(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0x4001928300)
/app/internal/server/middleware.go:26 +0x98
github.com/gin-gonic/gin.(*Context).Next(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x40
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x40027287b8?)
/app/internal/server/controllers/health_check.go:20 +0x5c
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(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7c
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(0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xb8
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(0x40001f2b60, 0x4001928300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x6c4
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x40001f2b60, {0x2405a90, 0x4000f4e540}, 0x4000308dc0)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x174
net/http.serverHandler.ServeHTTP({0x23f7e48?}, {0x2405a90?, 0x4000f4e540?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0xbc
net/http.(*conn).serve(0x400054e1b0, {0x240a478, 0x4000782b40})
/usr/local/go/src/net/http/server.go:2092 +0x4fc
created by net/http.(*Server).Serve in goroutine 30
/usr/local/go/src/net/http/server.go:3360 +0x3dc
[GIN] 2025/11/28 - 08:22:29 | 200 | 12m2s | 10.89.0.19 | POST "/plugin/286af6c0-884d-4ba9-afbb-808171b7cab6/dispatch/llm/invoke"
2025/11/28 08:22:38 stdio.go:179: [ERROR]plugin langgenius/openai:0.2.7 has an error on stdout: read |0: file already closed
@dosubot[bot] commented on GitHub (Nov 28, 2025):
Hi @mbotsu! I'm Dosu and I’m helping the dify-official-plugins team.
This is a known issue in recent Dify versions: even with increased timeout settings, the plugin daemon may kill langgenius/openai:0.2.7 after a period of inactivity, especially under parallel API load. This is due to stricter timeout and health check logic introduced after Dify 1.8.0, which can cause plugins to be killed if they are inactive or blocked—even if the API request is still pending. Some timeouts are hardcoded in the plugin daemon or plugin code, so increasing environment variables alone may not be enough.
Common causes include network misconfiguration (e.g., using
localhostinstead ofhost.docker.internal), resource exhaustion, or plugin/SDK bugs. To mitigate:llm.pyorcommon_openai.py) inside the plugin Docker container and rebuild it, as some limits are not exposed via environment variables [details].UV_HTTP_TIMEOUTand consider using a PyPI mirror [details].This regression is likely due to stricter execution/stdio and stream-handling in the plugin daemon between 1.8.0 and 1.10.1 [details]. There is no perfect workaround, but patching the plugin timeout in code and ensuring optimal Docker networking can help.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other