Skip to content

[BUG] 从百度网盘向123Open复制文件的时候,如果文件大于某个阈值则会上传失败 #1739

@Ironboxplus

Description

@Ironboxplus

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

OpenList Version (required)

v4.1.8

Storage Driver Used (required)

百度网盘SVIP->123Open(VIP)

Bug Description (required)

  1. 如复制100M文件时,不管什么文件都提示:complete timeout
  2. 手动上传则不会出现问题
  3. 从百度网盘向阿里云盘复制则不会出错

已经尝试过:

  1. 延长60s的循环complete loop 到600s,重新编译。无果
  2. 更换多个服务器,包含本地部署
  3. 尝试过多个上传线程和复制线程的不同参数组合

Logs (required)

2025/12/02 11:25:35 [32m/source/internal/db/storage.go:22
[0m [33m[0.539ms] [34;1m[rows:1] [0m UPDATE x_storages SET mount_path="/storage/123open", ... addition="{""RefreshToken"":"""",""ClientID"":"""",""ClientSecret"":"""",""AccessToken"":"""",""UploadThread"":3,""DirectLink"":false,""DirectLinkPrivateKey"":"""",""DirectLinkValidDuration"":30,""root_folder_id"":""0""}", ... WHERE id = 11
[37mDEBU [0m[2025-12-02 11:25:35]/source/internal/op/storage.go:87 ... storage &{Storage:{ID:11 MountPath:/storage/123open ... Driver:123 Open ... Addition:{"RefreshToken":"","ClientID":"","ClientSecret":"","AccessToken":"", ...} ...} is created
[36mINFO [0m[2025-12-02 11:25:35]/source/internal/bootstrap/storage.go:24 ... success load storage: [/storage/123open], driver: [123 Open], order: [0]

2025/12/02 11:25:35 INFO worker execute task worker=0 task=6gzHJs_9SrPoVS0KUIcGb
2025/12/02 11:25:35 INFO worker execute task worker=2 task=VfUZQQDpRSIKYWSHLrd82
[37mDEBU [0m[2025-12-02 11:25:35]/source/internal/op/path.go:27 ... use storage: /storage/baidu
[37mDEBU [0m[2025-12-02 11:25:35]/source/internal/op/path.go:27 ... use storage: /storage/123open

[37mDEBU [0m[2025-12-02 11:25:36]/source/drivers/baidu_netdisk/util.go:114 ... [baidu_netdisk] req: https://pan.baidu.com/rest/2.0/xpan/multimedia, resp: {"errmsg":"succ","errno":0,"list":[{"category":6,"dlink":"https://d.pcs.baidu.com/file/...?fid=...","filename":"sample_file.7z","fs_id":,"size":727793074}],"names":{},"request_id":"..."}

[37mDEBU [0m[2025-12-02 11:25:36]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/create, QPS: 2, NowLen: 0
[37mDEBU [0m[2025-12-02 11:26:43]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
[37mDEBU [0m[2025-12-02 11:26:44]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
[37mDEBU [0m[2025-12-02 11:26:45]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
[37mDEBU [0m[2025-12-02 11:26:46]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
[37mDEBU [0m[2025-12-02 11:26:47]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
[37mDEBU [0m[2025-12-02 11:26:48]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
// ...
[37mDEBU [0m[2025-12-02 11:28:38]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0
[37mDEBU [0m[2025-12-02 11:28:40]/source/drivers/123_open/util.go:59 ... API: https://open-api.123pan.com/upload/v2/file/upload_complete, QPS: 0, NowLen: 0

2025/12/02 11:26:01 ... UPDATE x_task_items SET persist_data="[{""id"":""..."",""state"":7,""retry"":3,""max_retry"":3,...}]" WHERE key = "copy"

Configuration File Content (required)

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "qo4Xe47SeuGhnBAR",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data\\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": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": "",
    "enable_h2c": false,
    "enable_h3": false
  },
  "temp_dir": "data\\temp",
  "bleve_dir": "data\\bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "data\\log\\log.log",
    "max_size": 50,
    "max_backups": 30,
    "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,
  "max_buffer_limitMB": -1,
  "mmap_thresholdMB": 4,
  "max_connections": 0,
  "max_concurrency": 64,
  "tls_insecure_skip_verify": true,
  "tasks": {
    "download": {
      "workers": 10,
      "max_retry": 1,
      "task_persistant": true
    },
    "transfer": {
      "workers": 10,
      "max_retry": 2,
      "task_persistant": true
    },
    "upload": {
      "workers": 10,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 10,
      "max_retry": 3,
      "task_persistant": true
    },
    "move": {
      "workers": 10,
      "max_retry": 2,
      "task_persistant": false
    },
    "decompress": {
      "workers": 10,
      "max_retry": 2,
      "task_persistant": false
    },
    "decompress_upload": {
      "workers": 10,
      "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": 30,
    "disable_active_mode": false,
    "default_transfer_binary": false,
    "enable_active_conn_ip_check": true,
    "enable_pasv_conn_ip_check": true
  },
  "sftp": {
    "enable": false,
    "listen": ":5222"
  },
  "last_launched_version": "v4.1.7",
  "proxy_address": ""
}

Reproduction Link (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions