Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
liang0222 opened this issue Jan 15, 2025 · 6 comments
Open
4 tasks done

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

liang0222 opened this issue Jan 15, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@liang0222
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

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

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • 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 / 复现链接

#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

@liang0222 liang0222 added the bug Something isn't working label Jan 15, 2025
@pongfcnkl
Copy link

加个timeout参数

@liang0222
Copy link
Author

加个timeout参数
请问设置多少合适呢

@pongfcnkl
Copy link

加个timeout参数
请问设置多少合适呢

0

@liang0222
Copy link
Author

加个timeout参数
请问设置多少合适呢

0
Snipaste_2025-01-15_13-35-14
还不行!

@pongfcnkl
Copy link

加个timeout参数
请问设置多少合适呢

0
Snipaste_2025-01-15_13-35-14
还不行!

你添加本机存储后,直接在rclone下用相同webdav下复制呢
比如 rclone -P copy alist:本机存储/.../1.mp4 alist:139/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants