请确认以下事项
OpenList 版本(必填)
v4.1.8
使用的存储驱动(必填)
腾讯微云
问题描述(必填)
腾讯微云挂载时报错,一开始报的是【Request failed with status code 500】
重新登录获取cookie后显示内容均为下方大长文字👇
前端界面打开效果、管理界面挂载状态:
[panic] err: runtime error: invalid memory address or nil pointer dereference stack: goroutine 264728 [running]: github.com/OpenListTeam/OpenList/v4/internal/op.getCurrentGoroutineStack(...) /source/internal/op/storage.go:93 github.com/OpenListTeam/OpenList/v4/internal/op.initStorage.func1() /source/internal/op/storage.go:103 +0x85 panic({0x293c980?, 0x25b5570?}) /usr/local/go/src/runtime/panic.go:783 +0x132 github.com/foxxorcat/weiyun-sdk-go.(*Resp).HasError(...) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/types.go:38 github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).request(0xc0009d6080, {0x2df123b, 0x13}, {0x2ddcdbf, 0xd}, 0x6626, 0xc000ba8c00, {0x27eed00, 0xc0001291e8}, {0x0, ...}) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/request.go:143 +0xf8a github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).Request(0xc0009d6080, {0x2df123b, 0x13}, {0x2ddcdbf, 0xd}, 0x6626, 0xc000ba8c00, {0x27eed00, 0xc0001291e8}, {0x0, ...}) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/request.go:181 +0x90 github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).WeiyunFileLibClientRequest(...) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/request.go:221 github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).LibDirPathGet(0xc0009d6080, {0xc0008780a0, 0x20}, {0x0, 0x0, 0x0}) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/api-fs.go:43 +0x129 github.com/OpenListTeam/OpenList/v4/drivers/weiyun.(*WeiYun).Init(0xc0009b8000, {0x2cc8e00?, 0x2b?}) /source/drivers/weiyun/driver.go:87 +0x37a github.com/OpenListTeam/OpenList/v4/internal/op.initStorage({_, }, {0xd, {0xc00004acc0, 0x2b}, 0x3, {0xc0004b6220, 0x6}, 0x1e, {0x0, ...}, ...}, ...) /source/internal/op/storage.go:136 +0x1a2 github.com/OpenListTeam/OpenList/v4/internal/op.CreateStorage({, _}, {0x0, {0xc00004ac00, 0x2a}, 0x3, {0xc0004b6220, 0x6}, 0x1e, {0x0, ...}, ...}) /source/internal/op/storage.go:65 +0x278 github.com/OpenListTeam/OpenList/v4/server/handles.CreateStorage(0xc000a3a200) /source/server/handles/storage.go:99 +0xbe github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/OpenListTeam/OpenList/v4/server/middlewares.AuthAdmin(0xc000a3a200) /source/server/middlewares/auth.go:148 +0xc2 github.com/gin-gonic/gin.(*Context).Next(0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 +0x2b github.com/OpenListTeam/OpenList/v4/server.Init.Auth.func10(0xc000a3a200) /source/server/middlewares/auth.go:74 +0x316 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded(0xc000a3a200) /source/server/middlewares/check.go:35 +0x13b github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/logger.go:249 +0xe5 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000808340, 0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:644 +0x94b github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000808340, {0x70c0c30, 0xc00084c000}, 0xc0002f6a00) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:600 +0x1ad net/http.serverHandler.ServeHTTP({0x70b5e90?}, {0x70c0c30?, 0xc00084c000?}, 0x6?) /usr/local/go/src/net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc000bbabd0, {0x70c7748, 0xc0007ba0c0}) /usr/local/go/src/net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 49 /usr/local/go/src/net/http/server.go:3493 +0x485
日志(必填)
无任何报错日志,已完全检查无任何ERR或error字样的报错提示
配置文件内容(必填)
与教程参考配置一致,当前报错仅最近发生,之前都是运行正常的,要不是今早有人私信说链接炸了我才知道用不了了,望重新构建相关代码
复现链接(可选)
具体可见【http://8.148.202.38:8443】中【腾讯微云整合】文件夹
请确认以下事项
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
我已确认阅读了OpenList文档。
我已确认没有重复的问题或讨论。
我已确认是
OpenList的问题,而不是其他原因(例如 网络 ,依赖或操作)。我认为此问题必须由
OpenList处理,而非第三方。我已确认这个问题在最新版本中没有被修复。
OpenList 版本(必填)
v4.1.8
使用的存储驱动(必填)
腾讯微云
问题描述(必填)
腾讯微云挂载时报错,一开始报的是【Request failed with status code 500】
重新登录获取cookie后显示内容均为下方大长文字👇
前端界面打开效果、管理界面挂载状态:
[panic] err: runtime error: invalid memory address or nil pointer dereference stack: goroutine 264728 [running]: github.com/OpenListTeam/OpenList/v4/internal/op.getCurrentGoroutineStack(...) /source/internal/op/storage.go:93 github.com/OpenListTeam/OpenList/v4/internal/op.initStorage.func1() /source/internal/op/storage.go:103 +0x85 panic({0x293c980?, 0x25b5570?}) /usr/local/go/src/runtime/panic.go:783 +0x132 github.com/foxxorcat/weiyun-sdk-go.(*Resp).HasError(...) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/types.go:38 github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).request(0xc0009d6080, {0x2df123b, 0x13}, {0x2ddcdbf, 0xd}, 0x6626, 0xc000ba8c00, {0x27eed00, 0xc0001291e8}, {0x0, ...}) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/request.go:143 +0xf8a github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).Request(0xc0009d6080, {0x2df123b, 0x13}, {0x2ddcdbf, 0xd}, 0x6626, 0xc000ba8c00, {0x27eed00, 0xc0001291e8}, {0x0, ...}) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/request.go:181 +0x90 github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).WeiyunFileLibClientRequest(...) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/request.go:221 github.com/foxxorcat/weiyun-sdk-go.(*WeiYunClient).LibDirPathGet(0xc0009d6080, {0xc0008780a0, 0x20}, {0x0, 0x0, 0x0}) /go/pkg/mod/github.com/foxxorcat/weiyun-sdk-go@v0.1.3/api-fs.go:43 +0x129 github.com/OpenListTeam/OpenList/v4/drivers/weiyun.(*WeiYun).Init(0xc0009b8000, {0x2cc8e00?, 0x2b?}) /source/drivers/weiyun/driver.go:87 +0x37a github.com/OpenListTeam/OpenList/v4/internal/op.initStorage({_, }, {0xd, {0xc00004acc0, 0x2b}, 0x3, {0xc0004b6220, 0x6}, 0x1e, {0x0, ...}, ...}, ...) /source/internal/op/storage.go:136 +0x1a2 github.com/OpenListTeam/OpenList/v4/internal/op.CreateStorage({, _}, {0x0, {0xc00004ac00, 0x2a}, 0x3, {0xc0004b6220, 0x6}, 0x1e, {0x0, ...}, ...}) /source/internal/op/storage.go:65 +0x278 github.com/OpenListTeam/OpenList/v4/server/handles.CreateStorage(0xc000a3a200) /source/server/handles/storage.go:99 +0xbe github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/OpenListTeam/OpenList/v4/server/middlewares.AuthAdmin(0xc000a3a200) /source/server/middlewares/auth.go:148 +0xc2 github.com/gin-gonic/gin.(*Context).Next(0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 +0x2b github.com/OpenListTeam/OpenList/v4/server.Init.Auth.func10(0xc000a3a200) /source/server/middlewares/auth.go:74 +0x316 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded(0xc000a3a200) /source/server/middlewares/check.go:35 +0x13b github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/logger.go:249 +0xe5 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000808340, 0xc000a3a200) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:644 +0x94b github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000808340, {0x70c0c30, 0xc00084c000}, 0xc0002f6a00) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:600 +0x1ad net/http.serverHandler.ServeHTTP({0x70b5e90?}, {0x70c0c30?, 0xc00084c000?}, 0x6?) /usr/local/go/src/net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc000bbabd0, {0x70c7748, 0xc0007ba0c0}) /usr/local/go/src/net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 49 /usr/local/go/src/net/http/server.go:3493 +0x485
日志(必填)
无任何报错日志,已完全检查无任何ERR或error字样的报错提示
配置文件内容(必填)
与教程参考配置一致,当前报错仅最近发生,之前都是运行正常的,要不是今早有人私信说链接炸了我才知道用不了了,望重新构建相关代码
复现链接(可选)
具体可见【http://8.148.202.38:8443】中【腾讯微云整合】文件夹