-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
Self Checks
To make sure we get to you in time, please check the following :)
- I have searched for existing issues search for existing issues, 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."
Versions
- dify-plugin-daemon Version
0.2.0 - dify-api Version
1.8.1
Describe the bug
a panci error
2025-09-25 13:50:05:runtime error: invalid memory address or nil pointer dereference
2025-09-25 13:50:05:/nfsc/DPMJKS/install_files/go-1.23.7.linux-amd64/src/runtime/panic.go:262 (0x4771b8)
2025-09-25 13:50:05:/nfsc/DPMJKS/install_files/go-1.23.7.linux-amd64/src/runtime/signal_unix.go:917 (0x477188)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/core/plugin_manager/local_runtime/stdio.go:85 (0xdbf052)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/core/plugin_manager/local_runtime/io.go:16 (0xdbc9ba)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/core/plugin_daemon/generic.go:27 (0xfdb4b6)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/core/plugin_daemon/model.gen.go:161 (0x1009f8b)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/service/model.gen.go:210 (0x1009f72)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/service/base_sse.go:116 (0x1014eda)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/service/base_sse.go:44 (0x101513e)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/service/base_sse.go:114 (0x1014e24)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/service/model.gen.go:208 (0x1009f31)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/model.gen.go:163 (0x1ec9028)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/base.go:53 (0x103effb)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/base.go:31 (0x103f461)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/base.go:37 (0x103ef15)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/model.gen.go:160 (0x1ec8f73)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf8988a)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/middleware.go:170 (0x1ecbab3)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf8988a)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/middleware.go:97 (0x1ecbb53)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf8988a)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/middleware.go:66 (0x1ecfe31)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf8988a)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/health_check.go:28 (0x1ecfb24)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf8988a)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/middleware.go:24 (0x1ecb234)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf8988a)
2025-09-25 13:50:05:/app/workspace/DEPLOY/inc-aiplat-core/inc-aiplat-core-dify-plugin-blue/internal/server/controllers/health_check.go:20 (0x1ecfac4)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf973ee)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102 (0xf973db)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf96524)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249 (0xf9650b)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185 (0xf95911)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633 (0xf95380)
2025-09-25 13:50:05:/app/MAVEN_REPOSITORY/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589 (0xf94eb1)
2025-09-25 13:50:05:/nfsc/DPMJKS/install_files/go-1.23.7.linux-amd64/src/net/http/server.go:3210 (0x7e24ed)
2025-09-25 13:50:05:/nfsc/DPMJKS/install_files/go-1.23.7.linux-amd64/src/net/http/server.go:2092 (0x7c1a0f)
2025-09-25 13:50:05:/nfsc/DPMJKS/install_files/go-1.23.7.linux-amd64/src/runtime/asm_amd64.s:1700 (0x47d3a0)
2025-09-25 13:50:05:�[0m
2025-09-25 13:50:07:
2025-09-25 13:50:07:
2025-09-25 13:50:07:�[31m2025/09/25 13:50:07 [Recovery] 2025/09/25 - 13:50:07 panic recovered:
Expected behavior
Based on my understanding of the go code, I think it is because the plugin has not been started yet (maybe the plugin is abnormal), but dify-api has requested the plugin service to execute the plugin.
I don't know if what I think is right. I don't know where the problem is now. I hope to get a reply.
Metadata
Metadata
Assignees
Labels
No labels