Skip to content

[BUG] 开启https并通过https访问openlist,传输文件速度特别慢。 #632

@CnShim

Description

@CnShim

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)

4.0.8

Storage Driver Used (required)

本机存储

Bug Description (required)

使用http访问openlist传输速度能跑满上传宽带,但是开启https并通过https访问openlist传输速度就只有100多kb了。
1、SSL证书为全链证书
2、SSL证书算法为ECC椭圆曲线密码学,256位。

Configuration File Content (required)

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "OZgTxxxxxxxxx3VuEt",
"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_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": 4433,
"force_https": false,
"cert_file": "data\cert\xxxxx.cc.pem",
"key_file": "data\cert\xxxxxx.cc.key.pem",
"unix_file": "",
"unix_file_perm": "",
"enable_h2c": 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
},
"delayed_start": 0,
"max_connections": 0,
"max_concurrency": 64,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"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": 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.0.8"
}

Logs (optional)

�[33mWARN�[0m[2025-07-07 04:27:57] not enable search
[GIN] 2025/07/07 - 04:28:01 | 200 | 763.5µs | 119.162.227.72 | POST "/api/auth/login/hash"
[GIN] 2025/07/07 - 04:28:01 | 200 | 0s | 119.162.227.72 | GET "/api/me"
[GIN] 2025/07/07 - 04:28:01 | 200 | 0s | 119.162.227.72 | GET "/api/public/offline_download_tools"
[GIN] 2025/07/07 - 04:28:01 | 200 | 790µs | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:28:02 | 200 | 63.3781ms | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:28:31 | 401 | 0s | 119.162.227.72 | GET "/dav"
[GIN] 2025/07/07 - 04:28:31 | 403 | 0s | 119.162.227.72 | GET "/dav"
[GIN] 2025/07/07 - 04:28:32 | 403 | 0s | 119.162.227.72 | GET "/dav"
[GIN] 2025/07/07 - 04:28:35 | 200 | 0s | 119.162.227.72 | GET "/"
[GIN] 2025/07/07 - 04:28:35 | 200 | 0s | 119.162.227.72 | GET "/api/public/archive_extensions"
[GIN] 2025/07/07 - 04:28:35 | 200 | 597.1µs | 119.162.227.72 | GET "/api/public/settings"
[GIN] 2025/07/07 - 04:28:35 | 200 | 0s | 119.162.227.72 | GET "/api/me"
[GIN] 2025/07/07 - 04:28:35 | 200 | 0s | 119.162.227.72 | POST "/api/fs/get"
[GIN] 2025/07/07 - 04:28:35 | 200 | 0s | 119.162.227.72 | GET "/api/public/offline_download_tools"
[GIN] 2025/07/07 - 04:28:35 | 200 | 0s | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:28:36 | 200 | 63.566ms | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:28:50 | 200 | 6.0152ms | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:28:52 | 200 | 11.5763ms | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:28:59 | 200 | 5.85ms | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:29:16 | 200 | 6.4077ms | 119.162.227.72 | POST "/api/fs/list"
[GIN] 2025/07/07 - 04:29:18 | 200 | 6.9265ms | 119.162.227.72 | POST "/api/fs/get"
[GIN] 2025/07/07 - 04:29:20 | 206 | 1.6393617s | 119.162.227.72 | GET "/p/dav/Temp/Test.mp4?sign=tyKfjMyEfZaToDerg02B9Cyy4GN2G3siuLFyW6fagzY=:0"
[GIN] 2025/07/07 - 04:29:21 | 304 | 3.2785ms | 119.162.227.72 | GET "/p/dav/Temp/Test.mp4?sign=tyKfjMyEfZaToDerg02B9Cyy4GN2G3siuLFyW6fagzY=:0"
[GIN] 2025/07/07 - 04:29:28 | 206 | 6.4899868s | 119.162.227.72 | GET "/p/dav/Temp/Test.mp4?sign=tyKfjMyEfZaToDerg02B9Cyy4GN2G3siuLFyW6fagzY=:0"
[GIN] 2025/07/07 - 04:29:28 | 206 | 6.4955971s | 119.162.227.72 | GET "/p/dav/Temp/Test.mp4?sign=tyKfjMyEfZaToDerg02B9Cyy4GN2G3siuLFyW6fagzY=:0"
[GIN] 2025/07/07 - 04:29:28 | 206 | 6.4899868s | 119.162.227.72 | GET "/p/dav/Temp/Test.mp4?sign=tyKfjMyEfZaToDerg02B9Cyy4GN2G3siuLFyW6fagzY=:0"

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