donknap / dpanel

docker可视化管理面板
https://dpanel.cc
1.25k stars 87 forks source link

配置多环境报错无法添加 #61

Closed wwwxeb closed 3 days ago

wwwxeb commented 3 days ago

当前使用的dpanel版本? 通过 【概览】- 【系统信息】- 【面板信息】 1.2.4

错误日志 【容器管理】 - 【容器列表】-【dpanel】-【运行日志】 或 docker logs dpanel [2024-11-30 12:49:35.249] [INFO] default runtime info {"goroutine": 28, "client total": 2, "progress total": 1} [2024-11-30 12:49:35.252] [ERROR] default Docker 客户端连接失败,请检查地址 /home/runner/go/pkg/mod/github.com/we7coreteam/w7-rangine-go/v2@v2.0.1/src/http/response/response.go:66 (0x10301f6) /home/runner/go/pkg/mod/github.com/we7coreteam/w7-rangine-go/v2@v2.0.1/src/http/response/response.go:60 (0x106c858) /home/runner/work/dpanel/dpanel/app/common/http/controller/env.go:118 (0x106c82d) /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1066062) /home/runner/work/dpanel/dpanel/common/middleware/cors.go:26 (0x1066050) /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1065ded) /home/runner/work/dpanel/dpanel/common/middleware/auth.go:62 (0x1065c1b) /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0xff8eb9)

复现方式 描述一下出现问题的操作流程 系统->客户端管理->添加Docker环境 环境使用TLS,配置相关连接信息上传证书后点击确定,提示 Docker 客户端连接失败,请检查地址 同样配置和证书在同样服务器上安装的portainer中可以正常配置

Q群反馈

Q群:837583876

wwwxeb commented 3 days ago

已经解决了,我安装的版本太老了,更新最新镜像就没问题了。