AlistGo / AlistGo/alist

反代到443端口绑定域名解析后挂载terabox无法预览视频和下载

Đang mở
#8,268 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Go
Star
50.2k
Fork
7.9k
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
6

Mô tả

### Please make sure of the following things

- [x] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

- [x] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。

- [x] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [x] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。

### AList Version / AList 版本

v3.41.0

### Driver used / 使用的存储驱动

terabox

### Describe the bug / 问题描述

使用反向代理+证书端口号变成443,使用域名解析绑定到域名后,terabox预览和下载均无法使用。302重定向和本地代理都一样的提示。按照官方教程配置了cloudflare的CDN之后也无法浏览和下载

### Reproduction / 复现链接

https://dl.cloudsw.eu.org/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv?sign=KoX6p5s25Y2Qz_0-ObYoYw1uVzywdK7qdHMUhjpweYk=:0

### Config / 配置

使用的代理地址模式

### Logs / 日志

{
"source": {
"$workers": {
"truncated": false,
"event": {
"request": {
"url": "https://dl.cloudsw.eu.org/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv?sign=REDACTED=:0",
"method": "GET",
"path": "/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv",
"search": {
"sign": "REDACTED=:0"
}
}
},
"outcome": "exception",
"scriptName": "cold-boat-e054",
"eventType": "fetch",
"executionModel": "stateless",
"scriptVersion": {
"id": "e5f26364-3c3e-483a-8932-af5c064e9c19"
},
"requestId": "928e48d19a072eea"
},
"message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"exception": {
"stack": " at async handleDownload (worker.js:75:13)\n at async handleRequest (worker.js:139:10)\n at async Object.fetch (worker.js:145:12)",
"name": "SyntaxError",
"message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"timestamp": 1743407726348
},
"$cloudflare": {
"$metadata": {
"id": "01JQNK5FRCTQ6X6P4TK7Q9243N",
"type": "cf-worker",
"error": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"errorPattern": "Unexpected token 'e', \"error code: \" is not valid JSON",
"messagePattern": "Unexpected token 'e', \"error code: \" is not valid JSON"
}
}
},
"dataset": "cloudflare-workers",
"timestamp": "2025-03-31T07:55:26.348Z",
"$workers": {
"truncated": false,
"event": {
"request": {
"url": "https://dl.cloudsw.eu.org/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv?sign=REDACTED=:0",
"method": "GET",
"path": "/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv",
"search": {
"sign": "REDACTED=:0"
}
}
},
"outcome": "exception",
"scriptName": "cold-boat-e054",
"eventType": "fetch",
"executionModel": "stateless",
"scriptVersion": {
"id": "e5f26364-3c3e-483a-8932-af5c064e9c19"
},
"requestId": "928e48d19a072eea"
},
"$metadata": {
"now": "2025-03-31T07:55:53.233Z",
"id": "01JQNK5FRCTQ6X6P4TK7Q9243N",
"requestId": "928e48d19a072eea",
"trigger": "GET /BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv",
"service": "cold-boat-e054",
"error": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"account": "47ce3dcccce8b31fbc5cf12ea7ecd27f",
"type": "cf-worker",
"fingerprint": "3461a140b6e7b45e4e7d70094d991eb6",
"origin": "fetch",
"messageTemplate": "Unexpected token 'e', \"error code: \" is not valid JSON",
"errorTemplate": "Unexpected token 'e', \"error code: \" is not valid JSON"
},
"_namespace": "GET /BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv",
"_dataset": "cloudflare-workers",
"_timestamp": 1743407726348,
"_baselimeId": "01JQNK5FRCTQ6X6P4TK7Q9243N",
"_account": "47ce3dcccce8b31fbc5cf12ea7ecd27f",
"_requestId": "928e48d19a072eea",
"_region": "",
"_now": 1743407753233,
"_fingerprint": "3461a140b6e7b45e4e7d70094d991eb6",
"_traceId": "",
"_type": "cf-worker",
"_coldStart": 0,
"_spanId": "",
"_parentSpanId": "",
"_startTime": 0,
"_endTime": 0,
"_error": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"_message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"_source": {
"$workers.truncated": false,
"message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"exception.stack": " at async handleDownload (worker.js:75:13)\n at async handleRequest (worker.js:139:10)\n at async Object.fetch (worker.js:145:12)",
"exception.name": "SyntaxError",
"exception.message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"$workers.event.request.url": "https://dl.cloudsw.eu.org/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv?sign=REDACTED=:0",
"$workers.event.request.method": "GET",
"$workers.event.request.path": "/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv",
"$workers.event.request.search.sign": "REDACTED=:0",
"$workers.outcome": "exception",
"$workers.scriptName": "cold-boat-e054",
"$workers.eventType": "fetch",
"$workers.executionModel": "stateless",
"$workers.scriptVersion.id": "e5f26364-3c3e-483a-8932-af5c064e9c19",
"$workers.requestId": "928e48d19a072eea",
"exception.timestamp": 1743407726348,
"$cloudflare.$metadata.id": "01JQNK5FRCTQ6X6P4TK7Q9243N",
"$cloudflare.$metadata.type": "cf-worker",
"$cloudflare.$metadata.error": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"$cloudflare.$metadata.errorPattern": "Unexpected token 'e', \"error code: \" is not valid JSON",
"$cloudflare.$metadata.messagePattern": "Unexpected token 'e', \"error code: \" is not valid JSON"
},
"_errorTemplate": "Unexpected token 'e', \"error code: \" is not valid JSON",
"_traceDuration": 0,
"_service": "cold-boat-e054",
"_messageTemplate": "Unexpected token 'e', \"error code: \" is not valid JSON",
"_cost": 0,
"_transactionName": "",
"_transactionJSON": "",
"_origin": "fetch",
"_spanName": "",
"_cloudService": "",
"links.traceIds": [],
"links.spanIds": [],
"_parsed": {
"$workers": {
"truncated": false,
"event": {
"request": {
"url": "https://dl.cloudsw.eu.org/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv?sign=REDACTED=:0",
"method": "GET",
"path": "/BBD/tc/2025/03/28/%E7%86%8A%E5%87%BA%E6%B2%A1%E4%B9%8Bchong%E8%BF%94%E5%9C%B0%E7%90%83.2022.mkv",
"search": {
"sign": "REDACTED=:0"
}
}
},
"outcome": "exception",
"scriptName": "cold-boat-e054",
"eventType": "fetch",
"executionModel": "stateless",
"scriptVersion": {
"id": "e5f26364-3c3e-483a-8932-af5c064e9c19"
},
"requestId": "928e48d19a072eea"
},
"message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"exception": {
"stack": " at async handleDownload (worker.js:75:13)\n at async handleRequest (worker.js:139:10)\n at async Object.fetch (worker.js:145:12)",
"name": "SyntaxError",
"message": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"timestamp": 1743407726348
},
"$cloudflare": {
"$metadata": {
"id": "01JQNK5FRCTQ6X6P4TK7Q9243N",
"type": "cf-worker",
"error": "Unexpected token 'e', \"error code: 1016\" is not valid JSON",
"errorPattern": "Unexpected token 'e', \"error code: \" is not valid JSON",
"messagePattern": "Unexpected token 'e', \"error code: \" is not valid JSON"
}
}
},
"links": []
}

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.