收起左侧

影视app调用nas登录报错

0
回复
172
查看
[ 复制链接 ]

2

主题

3

回帖

0

牛值

江湖小虾

2025-2-6 21:59:38 显示全部楼层 阅读模式

设备环境:物理机 局域网、系统版本:0.8.36

BUG现象:

我通过 ssh 尝试修改fnnas的/usr/trim/www/static 下的部分文件(测试)后还原,重启系统后,出现影视app 调用NAS账号登陆报错,

报错地址是 https://******/v/api/v1/auth 返回的响应是

{"msg":"network error","code":-4,"data":null} 后续我尝试重启影视app,再次使用,还是出现该bug。

通过查询 app 中的日志发现在 /appcenter/info.log 中有一个报错

time="2025-02-06T21:44:18+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62" appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770) /app/core/entrymanagement/entry.go:62 +0x3c5

出现频率:必现

联系方式:fnOS336 - 胖虎

下方是部分 报错日志

time="2025-02-06T21:55:08+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62"
appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770)
    /app/core/entrymanagement/entry.go:62 +0x3c5
created by appstore/core/entrymanagement.NewClient in goroutine 1
    /app/core/entrymanagement/entry.go:33 +0x1ea
time="2025-02-06T21:55:13+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62"
appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770)
    /app/core/entrymanagement/entry.go:62 +0x3c5
created by appstore/core/entrymanagement.NewClient in goroutine 1
    /app/core/entrymanagement/entry.go:33 +0x1ea
time="2025-02-06T21:55:18+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62"
appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770)
    /app/core/entrymanagement/entry.go:62 +0x3c5
created by appstore/core/entrymanagement.NewClient in goroutine 1
    /app/core/entrymanagement/entry.go:33 +0x1ea
time="2025-02-06T21:55:23+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62"
appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770)
    /app/core/entrymanagement/entry.go:62 +0x3c5
created by appstore/core/entrymanagement.NewClient in goroutine 1
    /app/core/entrymanagement/entry.go:33 +0x1ea
time="2025-02-06T21:55:28+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62"
appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770)
    /app/core/entrymanagement/entry.go:62 +0x3c5
created by appstore/core/entrymanagement.NewClient in goroutine 1
    /app/core/entrymanagement/entry.go:33 +0x1ea
time="2025-02-06T21:55:33+08:00" level=info msg="daemon check app status" file="/app/core/app/appdaemon/init.go:18"
time="2025-02-06T21:55:33+08:00" level=info msg="get version failed" error="json: cannot unmarshal number into Go value of type coremodel.ApiResult[git.teiron-inc.cn/infra/sac-entry-client/model/vo.VersionResp]" file="/app/core/entrymanagement/entry.go:62"
appstore/core/entrymanagement.(*Client).worker(0xc000566370, 0xc00026c770)
    /app/core/entrymanagement/entry.go:62 +0x3c5
created by appstore/core/entrymanagement.NewClient in goroutine 1
    /app/core/entrymanagement/entry.go:33 +0x1ea
time="2025-02-06T21:55:34+08:00" level=info msg="check state code" appName=Vaultwarden class=check code=0 file="/app/core/service/check.go:109" reqid=1738850133650624042 version=1.32.4
time="2025-02-06T21:55:34+08:00" level=info msg="check state code" appName=Lucky class=check code=0 file="/app/core/service/check.go:109" reqid=1738850133649228271 version=2.8.1
time="2025-02-06T21:55:34+08:00" level=info msg="check state code" appName=syncthing class=check code=0 file="/app/core/service/check.go:109" reqid=1738850133649922959 version=1.23.10
time="2025-02-06T21:55:35+08:00" level=info msg="check state code" appName=trim.media class=check code=0 file="/app/core/service/check.go:109" reqid=1738850133651118646 version=0.8.28
收藏
送赞 1
分享
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则