AlistGo / AlistGo/alist

中国移动云盘上传405 Method Not Allowed

Aperta
#7,819 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Go
Stelle
50.2k
Fork
7.9k
Merge medio
7g 21h
PR unite (30g)
6

Descrizione

### 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 版本

3.41.0

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

中国移动云盘

### Describe the bug / 问题描述

存储成功添加中国移动云盘也显示里面文件出来了 下载没有问题 用alist网页上传没有问题大文件也是的 在Linux用rclone copy 就不行 文件大小是20m左右 但是上传会重复进度 56.625 MiB / 56.625 MiB, 100%,

### Reproduction / 复现链接

https://github.com/AlistGo/alist/issues/2682

### Config / 配置

{
"force": false,
"notify": true,
"site_url": "",
"cdn": "",
"jwt_secret": "iQdlw6Z9uTbucFk8",
"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": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"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,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"persist_path": "data/tasks/download.json",
"task_persistant": true
},
"transfer": {
"workers": 5,
"max_retry": 2,
"persist_path": "data/tasks/transfer.json",
"task_persistant": true
},
"upload": {
"workers": 5,
"max_retry": 0,
"persist_path": "data/tasks/upload.json",
"task_persistant": true
},
"copy": {
"workers": 5,
"max_retry": 2,
"persist_path": "data/tasks/copy.json",
"task_persistant": true
}
},
"cors": {
"allow_origins": [
"*"
],
"allow_methods": [
"*"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

### Logs / 日志

rclone copy /root/100MB.jpg alist:/139 -P -vv
2025/01/15 10:01:26 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "copy" "/root/100MB.jpg" "alist:/139" "-P" "-vv"]
2025/01/15 10:01:26 DEBUG : Creating backend with remote "/root/100MB.jpg"
2025/01/15 10:01:26 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2025/01/15 10:01:26 DEBUG : fs cache: adding new entry for parent of "/root/100MB.jpg", "/root"
2025/01/15 10:01:26 DEBUG : Creating backend with remote "alist:/139"
2025/01/15 10:01:26 DEBUG : found headers:
2025/01/15 10:01:26 DEBUG : fs cache: renaming cache item "alist:/139" to be canonical "alist:139"
2025/01/15 10:01:26 DEBUG : 100MB.jpg: Need to transfer - File not found at Destination
2025/01/15 10:01:26 DEBUG : 100MB.jpg: Update will use the normal upload strategy (no chunks)
2025/01/15 10:03:40 ERROR : 100MB.jpg: Failed to copy: Method Not Allowed: 405 Method Not Allowed
2025/01/15 10:03:40 ERROR : Attempt 1/3 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed
2025/01/15 10:03:40 DEBUG : 100MB.jpg: Need to transfer - File not found at Destination
2025/01/15 10:03:40 DEBUG : 100MB.jpg: Update will use the normal upload strategy (no chunks)
2025/01/15 10:05:53 ERROR : 100MB.jpg: Failed to copy: Method Not Allowed: 405 Method Not Allowed
2025/01/15 10:05:53 ERROR : Attempt 2/3 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed
2025/01/15 10:05:53 DEBUG : 100MB.jpg: Need to transfer - File not found at Destination
2025/01/15 10:05:53 DEBUG : 100MB.jpg: Update will use the normal upload strategy (no chunks)
2025/01/15 10:08:06 ERROR : 100MB.jpg: Failed to copy: Method Not Allowed: 405 Method Not Allowed
2025/01/15 10:08:06 ERROR : Attempt 3/3 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed
Transferred: 56.625 MiB / 56.625 MiB, 100%, 26.827 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 6m39.9s
2025/01/15 10:08:06 INFO :
Transferred: 56.625 MiB / 56.625 MiB, 100%, 26.827 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 6m39.9s

2025/01/15 10:08:06 DEBUG : 6 go routines active
2025/01/15 10:08:06 NOTICE: Failed to copy: Method Not Allowed: 405 Method Not Allowed

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.