mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
The upgrade of the OpenAI-API-compatible plugin may result in an empty model, but the credentials can still be viewed. #657
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 @viereck-lan on GitHub (Sep 17, 2025).
Originally assigned to: @Yeuoly, @crazywoola on GitHub.
Self Checks
Dify version
1.8.1
Plugin version
0.19 to 0.22,but test will affect all versions.
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Error log
plugin_daemon-1 | 2025/09/17 13:47:28 [Recovery] 2025/09/17 - 13:47:28 panic recovered:
plugin_daemon-1 | runtime error: invalid memory address or nil pointer dereference
plugin_daemon-1 | /usr/local/go/src/runtime/panic.go:262 (0x4771b8)
plugin_daemon-1 | /usr/local/go/src/runtime/signal_unix.go:917 (0x477188)
plugin_daemon-1 | /app/internal/core/plugin_manager/local_runtime/stdio.go:85 (0xdbf0b2)
plugin_daemon-1 | /app/internal/core/plugin_manager/local_runtime/io.go:16 (0xdbca1a)
plugin_daemon-1 | /app/internal/core/plugin_daemon/generic.go:27 (0xfda4d6)
plugin_daemon-1 | /app/internal/core/plugin_daemon/model.gen.go:161 (0x1008dab)
plugin_daemon-1 | /app/internal/service/model.gen.go:210 (0x1008d92)
plugin_daemon-1 | /app/internal/service/base_sse.go:116 (0x1013cfa)
plugin_daemon-1 | /app/internal/service/base_sse.go:44 (0x1013f5e)
plugin_daemon-1 | /app/internal/service/base_sse.go:114 (0x1013c44)
plugin_daemon-1 | /app/internal/service/model.gen.go:208 (0x1008d51)
plugin_daemon-1 | /app/internal/server/controllers/model.gen.go:163 (0x1ec7fa8)
plugin_daemon-1 | /app/internal/server/controllers/base.go:53 (0x103de1b)
plugin_daemon-1 | /app/internal/server/controllers/base.go:31 (0x103e281)
plugin_daemon-1 | /app/internal/server/controllers/base.go:37 (0x103dd35)
plugin_daemon-1 | /app/internal/server/controllers/model.gen.go:160 (0x1ec7ef3)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf8896a)
plugin_daemon-1 | /app/internal/server/middleware.go:170 (0x1ecaa33)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf8896a)
plugin_daemon-1 | /app/internal/server/middleware.go:97 (0x1ecaad3)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf8896a)
plugin_daemon-1 | /app/internal/server/middleware.go:66 (0x1ecedb1)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf8896a)
plugin_daemon-1 | /app/internal/server/controllers/health_check.go:28 (0x1eceaa4)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf8896a)
plugin_daemon-1 | /app/internal/server/middleware.go:24 (0x1eca1b4)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf8896a)
plugin_daemon-1 | /app/internal/server/controllers/health_check.go:20 (0x1ecea44)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf964ce)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0xf964bb)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf95604)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 (0xf955eb)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf949f1)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0xf94460)
plugin_daemon-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0xf93f91)
plugin_daemon-1 | /usr/local/go/src/net/http/server.go:3210 (0x7e26cd)
plugin_daemon-1 | /usr/local/go/src/net/http/server.go:2092 (0x7c1bef)
plugin_daemon-1 | /usr/local/go/src/runtime/asm_amd64.s:1700 (0x47d3a0)
plugin_daemon-1 |
plugin_daemon-1 | [GIN] 2025/09/17 - 13:47:28 | 500 | 8.637101ms | 172.18.0.5 | POST "/plugin/1a0ab4d1-2cdc-4b19-a6dd-5559e14d19fd/dispatch/model/schema"
@viereck-lan commented on GitHub (Sep 17, 2025):
Temporary Fix Method:
At the top of the server { ... } block in the configuration file, add the following rule (ensure it matches with priority):
location ~* ^/plugin/[0-9a-f-]+/dispatch/model/schema$ {
default_type application/json;
return 200 '{"code":0,"data":{"schema":{}},"message":"success"}';
}
@haiya512 commented on GitHub (Sep 23, 2025):
seems not fix yet, already do the steps as you metioned.
@viereck-lan commented on GitHub (Sep 23, 2025):
After modification, you need to restart the Nginx service to take effect. docker-compose restart nginx
@viereck-lan commented on GitHub (Sep 23, 2025):
and make sure you bug its seem to me,you need cheak you log
@viereck-lan commented on GitHub (Sep 23, 2025):
and make sure you bug its seem to me,you need cheak you log
@dosubot[bot] commented on GitHub (Oct 9, 2025):
Hi, @viereck-lan. I'm Dosu, 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!