OpenListTeam / OpenListTeam/OpenList

[BUG] 首页显示 Network Error

Open
#2,683 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
24.7k
Forks
2.3k
Avg merge
1d 20h
Merged PRs (30d)
36

Description

请确认以下事项
  • 我已确认阅读并同意 AGPL-3.0 第15条
    本程序不提供任何明示或暗示的担保,使用风险由您自行承担。

  • 我已确认阅读并同意 AGPL-3.0 第16条
    无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。

  • 我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。

  • 我已确认阅读了OpenList文档

  • 我已确认没有重复的问题或讨论。

  • 我已确认是OpenList的问题,而不是其他原因(例如 网络依赖操作)。

  • 我认为此问题必须由OpenList处理,而非第三方。

  • 我已确认这个问题在最新版本中没有被修复。

  • 我没有阅读这个清单,只是闭眼选中了所有的复选框,请关闭这个 Issue 。

OpenList 版本(必填)

4.2.2

使用的存储驱动(必填)

迅雷 XUNLEI

问题描述(必填)

1) 日志中的时间,未转换成本地时间,在OP系统中设置了东八区,日志时间的小时需要加8;

2) 配置了多个驱动盘,当迅雷盘报错需要验证时,其他正常加载的盘不再正常显示,打开WEB界面显示网络错误,管理功能也无法加载。

日志(必填)

INFO[2026-06-30 08:07:17] success load storage: [/share], driver: [Local], order: [0]
INFO[2026-06-30 08:07:17] start HTTP server @ 0.0.0.0:9800
INFO[2026-06-30 08:07:18] success load storage: [/阿里云], driver: [AliyundriveOpen], order: [0]
ERRO[2026-06-30 08:07:18] failed get enabled storages:

🔒 本次登录需要验证
This login requires verification

下面是验证所需要的数据,具体使用方法请参照对应的驱动文档
Below are the relevant verification data. For specific usage methods, please refer to the corresponding driver documentation.

{
  "creditkey": "ck0.-MBu-zYcrYM-gbXFBSZkbASVG6Bqbtp5phBCfBxc8ghO2XGco2SzVc3e69eqrsnD2e3p0qxsRgRmUcJBzCwlkQOF4s8NlI4KkA19gYw68XPgN5gaM1scNfjnQDf3P31dLvSG2mtlkRNVOm7J_CeFKWZfxP7yiJzh7GfMRXVB0EBlqjhqTM9Wew6VxiO9dKkBf_awTFp8ofOl3O5UDpi_Eg",
  "reviewurl": "https://i.xunlei.com/xlcaptcha/vertifyPhone.html?trigger=0\u0026appName=ANDROID-com.xunlei.downloadprovider\u0026appid=40\u0026privateStyle=\u0026providerName=NONE\u0026smsEvent=34\u0026protocolVersion=301\u0026userID=845681509\u0026OSVersion=NONE\u0026clientVersion=8.31.0.9726\u0026deviceName=NONE\u0026event=login3\u0026creditkey=ck0.-MBu-zYcrYM-gbXFBSZkbASVG6Bqbtp5phBCfBxc8ghO2XGco2SzVc3e69eqrsnD2e3p0qxsRgRmUcJBzCwlkQOF4s8NlI4KkA19gYw68XPgN5gaM1scNfjnQDf3P31dLvSG2mtlkRNVOm7J_CeFKWZfxP7yiJzh7GfMRXVB0EBlqjhqTM9Wew6VxiO9dKkBf_awTFp8ofOl3O5UDpi_Eg\u0026deviceModel=NONE\u0026mainHost=xluser-ssl.xunlei.com%2Cxluser2-ssl.xunlei.com%2Cxluser3-ssl.xunlei.com\u0026mobile=190%2A%2A%2A%2A1718\u0026netWorkType=NONE\u0026platformVersion=10\u0026deviceid=div101.0d48ab66ea7d9e7f857006e36b7cbb6e33b96a574f6dd5a1e",
  "deviceid": "div101.0d48ab66ea7d9e7f857006e36b7c14191cf56e005b",
  "devicesign": "div101.0d48ab66ea7d9e7f857006e36b7c14191cf5"
}
failed init storage github.com/OpenListTeam/OpenList/v4/internal/op.initStorage github.com/OpenListTeam/OpenList/v4/internal/op/storage.go:145 github.com/OpenListTeam/OpenList/v4/internal/op.LoadStorage github.com/OpenListTeam/OpenList/v4/internal/op/storage.go:85 github.com/OpenListTeam/OpenList/v4/internal/bootstrap.LoadStorages.func1 github.com/OpenListTeam/OpenList/v4/internal/bootstrap/storage.go:20 runtime.goexit runtime/asm_mipsx.s:657 INFO[2026-06-30 08:07:19] success load storage: [/kua], driver: [Quark], order: [0]
配置文件内容(必填)

{
"force": true,
"site_url": "/",
"cdn": "",
"jwt_secret": "¥¥¥¥¥¥¥¥¥¥¥",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 3306,
"user": "",
"password": "",
"name": "",
"db_file": "/etc/openlist/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index": "openlist"
},
"scheme": {
"address": "0.0.0.0",
"http_port": 9800,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": "",
"enable_h2c": false,
"enable_h3": false
},
"temp_dir": "/tmp/openlist",
"bleve_dir": "/etc/openlist/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "/var/log/openlist.log",
"max_size": 2,
"max_backups": 2,
"max_age": 28,
"compress": false,
"filter": {
"enable": false,
"filters": [
{
"cidr": "",
"path": "/ping",
"method": ""
},
{
"cidr": "",
"path": "",
"method": "HEAD"
},
{
"cidr": "",
"path": "/dav/",
"method": "PROPFIND"
}
]
}
},
"delayed_start": 0,
"auto_memory_limit": 4,
"min_free_memory": 0,
"max_block_limit": 0,
"max_connections": 2,
"max_concurrency": 16,
"tls_insecure_skip_verify": false,
"tasks": {
"download": {
"workers": 2,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 2,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 2,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 2,
"max_retry": 2,
"task_persistant": false
},
"move": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
"
"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
},
"ftp": {
"enable": false,
"listen": ":5221",
"find_pasv_port_attempts": 50,
"active_transfer_port_non_20": false,
"idle_timeout": 900,
"connection_timeout": 900,
"disable_active_mode": false,
"default_transfer_binary": false,
"enable_active_conn_ip_check": false,
"enable_pasv_conn_ip_check": false
},
"sftp": {
"enable": false,
"listen": ":5222"
},
"last_launched_version": "v4.2.2 (OpenWrt mipsel_24kc)",
"proxy_address": ""
}

复现链接(可选)

No response

AI生成内容(可选)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with internal/op/storage.go around LoadStorage and initStorage, then inspect internal/bootstrap/storage.go, using the provided logs and multi-drive configuration as the reproduction case. Determine how a verification failure in the XUNLEI drive affects the other loaded drives and the web interface; done means unaffected drives and management functions remain usable, with the reported log-time behavior addressed if it belongs to this issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.