donknap / dpanel

docker可视化管理面板
https://dpanel.cc
821 stars 73 forks source link

系统内部错误: crypto/aes: input not full block #10

Closed mainlxl closed 3 months ago

mainlxl commented 3 months ago

如标题 更新镜像时出现

donknap commented 3 months ago

提供一下完整的错误信息,通过 docker logs dpanel 查看。

再提供一下操作方法

notoop commented 3 months ago

面板中拉取镜像时出现以下错误: [2024-08-04 03:28:57.723] [ERROR] default 系统内部错误: crypto/aes: input not full block go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:66 (0xf7bef6) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:60 (0xfc81b0) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/middleware/panichandler.go:22 (0xfc8179) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:98 (0xf6f4f5) /usr/local/opt/go/libexec/src/runtime/panic.go:770 (0x445a91) /usr/local/opt/go/libexec/src/crypto/aes/cipher_asm.go:87 (0x502dbd) Workspace/go/dpanel/common/function/encrypt.go:38 (0x55f7d4) Workspace/go/dpanel/app/application/logic/image.go:82 (0xf2ed92) Workspace/go/dpanel/app/application/http/controller/image-tag.go:39 (0xf9f81e) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc8a62) Workspace/go/dpanel/common/middleware/cors.go:26 (0xfc8a50) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc87f3) Workspace/go/dpanel/common/middleware/auth.go:63 (0xfc8621) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6ed19) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0xf6ed07) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6db51) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0xf6d5c0) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0xf6d0f1) /usr/local/opt/go/libexec/src/net/http/server.go:3137 (0x7bdc2d) /usr/local/opt/go/libexec/src/net/http/server.go:2039 (0x7b8f07) /usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1695 (0x481520)

[2024-08-04 03:30:44.806] [ERROR] default 系统内部错误: crypto/aes: input not full block go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:66 (0xf7bef6) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:60 (0xfc81b0) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/middleware/panichandler.go:22 (0xfc8179) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:98 (0xf6f4f5) /usr/local/opt/go/libexec/src/runtime/panic.go:770 (0x445a91) /usr/local/opt/go/libexec/src/crypto/aes/cipher_asm.go:87 (0x502dbd) Workspace/go/dpanel/common/function/encrypt.go:38 (0x55f7d4) Workspace/go/dpanel/app/application/logic/image.go:82 (0xf2ed92) Workspace/go/dpanel/app/application/http/controller/image-tag.go:39 (0xf9f81e) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc8a62) Workspace/go/dpanel/common/middleware/cors.go:26 (0xfc8a50) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc87f3) Workspace/go/dpanel/common/middleware/auth.go:63 (0xfc8621) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6ed19) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0xf6ed07) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6db51) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0xf6d5c0) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0xf6d0f1) /usr/local/opt/go/libexec/src/net/http/server.go:3137 (0x7bdc2d) /usr/local/opt/go/libexec/src/net/http/server.go:2039 (0x7b8f07) /usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1695 (0x481520)

mainlxl commented 3 months ago

image 随便找个镜像pull即可触发

[2024-08-05 04:47:54.859] [ERROR] default 系统内部错误: crypto/aes: input not full block go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:66 (0xf7bef6) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:60 (0xfc81b0) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/middleware/panichandler.go:22 (0xfc8179) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:98 (0xf6f4f5) /usr/local/opt/go/libexec/src/runtime/panic.go:770 (0x445a91) /usr/local/opt/go/libexec/src/crypto/aes/cipher_asm.go:87 (0x502dbd) Workspace/go/dpanel/common/function/encrypt.go:38 (0x55f7d4) Workspace/go/dpanel/app/application/logic/image.go:82 (0xf2ed92) Workspace/go/dpanel/app/application/http/controller/image-tag.go:39 (0xf9f81e) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc8a62) Workspace/go/dpanel/common/middleware/cors.go:26 (0xfc8a50) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc87f3) Workspace/go/dpanel/common/middleware/auth.go:63 (0xfc8621) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6ed19) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0xf6ed07) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6db51) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0xf6d5c0) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0xf6d0f1) /usr/local/opt/go/libexec/src/net/http/server.go:3137 (0x7bdc2d) /usr/local/opt/go/libexec/src/net/http/server.go:2039 (0x7b8f07) /usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1695 (0x481520)

[2024-08-05 04:47:55.139] [ERROR] default 系统内部错误: crypto/aes: input not full block go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:66 (0xf7bef6) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/response/response.go:60 (0xfc81b0) go/pkg/mod/github.com/we7coreteam/w7-rangine-go@v1.0.26/src/http/middleware/panichandler.go:22 (0xfc8179) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:98 (0xf6f4f5) /usr/local/opt/go/libexec/src/runtime/panic.go:770 (0x445a91) /usr/local/opt/go/libexec/src/crypto/aes/cipher_asm.go:87 (0x502dbd) Workspace/go/dpanel/common/function/encrypt.go:38 (0x55f7d4) Workspace/go/dpanel/app/application/logic/image.go:82 (0xf2ed92) Workspace/go/dpanel/app/application/http/controller/image-tag.go:39 (0xf9f81e) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc8a62) Workspace/go/dpanel/common/middleware/cors.go:26 (0xfc8a50) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xfc87f3) Workspace/go/dpanel/common/middleware/auth.go:63 (0xfc8621) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6ed19) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0xf6ed07) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xf6db51) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0xf6d5c0) go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0xf6d0f1) /usr/local/opt/go/libexec/src/net/http/server.go:3137 (0x7bdc2d) /usr/local/opt/go/libexec/src/net/http/server.go:2039 (0x7b8f07) /usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1695 (0x481520)

donknap commented 3 months ago

v1.0.4.1 修复此问题,你可以升级面板。

也可以在 【镜像管理】-【仓库管理】 找到 docker.io 删除此条数据

或是编辑docker.io仓库信息,随便填写一个密码(只填写密码提交即可)