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

PikPak Webdav 上传文件报405 #7023

Closed
4 tasks done
hhsw2015 opened this issue Aug 16, 2024 · 26 comments
Closed
4 tasks done

PikPak Webdav 上传文件报405 #7023

hhsw2015 opened this issue Aug 16, 2024 · 26 comments
Labels
bug Something isn't working

Comments

@hhsw2015
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 版本

https://github.com/alist-org/alist/actions/runs/10405387176/artifacts/1816046460

Driver used / 使用的存储驱动

PikPak

Describe the bug / 问题描述

alist挂载pikpak后
用rclone copy 向 alist webdav拷贝文件


Failed to copy: Method Not Allowed: 405 Method Not Allowed

 前天测试都是正常拷贝文件的 用了最新开发版本测试

Reproduction / 复现链接

https://github.com/alist-org/alist/actions/runs/10405387176/artifacts/1816046460

Config / 配置

https://github.com/alist-org/alist/actions/runs/10405387176/artifacts/1816046460

Logs / 日志

Failed to copy: Method Not Allowed: 405 Method Not Allowed

@hhsw2015 hhsw2015 added the bug Something isn't working label Aug 16, 2024
Copy link

welcome bot commented Aug 16, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@hhsw2015 hhsw2015 changed the title PikPak Webdav 上传文件报502 PikPak Webdav 上传文件报405 Aug 16, 2024
Copy link

@djniche
Copy link

djniche commented Aug 16, 2024

alist的data目录下没有生成temp目录,目前手动创建即可.

@hhsw2015
Copy link
Author

alist的data目录下没有生成temp目录,目前手动创建即可.

这个目录有影响?啥原因?

@djniche
Copy link

djniche commented Aug 16, 2024

alist的data目录下没有生成temp目录,目前手动创建即可.

这个目录有影响?啥原因?

你管有啥影响 去看看有没有temp目录 没有手动创建一个就行了

@hhsw2015
Copy link
Author

alist的data目录下没有生成temp目录,目前手动创建即可.

这个目录有影响?啥原因?

你管有啥影响 去看看有没有temp目录 没有手动创建一个就行了

2024/08/16 10:34:15 Failed to copy: Method Not Allowed: 405 Method Not Allowed

建立temp目录 没啥作用

@djniche
Copy link

djniche commented Aug 16, 2024

alist的data目录下没有生成temp目录,目前手动创建即可.

这个目录有影响?啥原因?

你管有啥影响 去看看有没有temp目录 没有手动创建一个就行了

2024/08/16 10:34:15 Failed to copy: Method Not Allowed: 405 Method Not Allowed

建立temp目录 没啥作用

docker版本需要重启 linux版本看看权限对不对.就这两点 再不行等谁看看bug吧

@31518854
Copy link

还是不能上传,尤其是relcone,上传会一直报错Method Not Allowed: 405 Method Not Allowed,会反复尝试上传,关闭挂载也没有,会直接导致官方手机和电脑端上传不了,提示传输中任务数量达到上限,请稍后再试,只能找官方手动清除掉任务

@Three-taile-dragon
Copy link
Contributor

已修复:#7050

@hhsw2015
Copy link
Author

hhsw2015 commented Aug 21, 2024

已修复:#7050

2024/08/21 03:19:18 ERROR : Attempt 1/1 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed
Transferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 8.7sTransferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 8.7s
2024/08/21 03:19:18 Failed to copy: Method Not Allowed: 405 Method Not Allowed

并没有修复 用的alist_8029a04 版本

@Three-taile-dragon
Copy link
Contributor

已修复:#7050

2024/08/21 03:19:18 ERROR : Attempt 1/1 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed Transferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7sTransferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7s 2024/08/21 03:19:18 Failed to copy: Method Not Allowed: 405 Method Not Allowed

并没有修复 用的alist_8029a04 版本

用PR里写的解决版本了吗?

@hhsw2015
Copy link
Author

已修复:#7050

2024/08/21 03:19:18 ERROR : Attempt 1/1 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed Transferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7sTransferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7s 2024/08/21 03:19:18 Failed to copy: Method Not Allowed: 405 Method Not Allowed
并没有修复 用的alist_8029a04 版本

用PR里写的解决版本了吗?

最新action编译版本 data下temp目录也存在

@Three-taile-dragon
Copy link
Contributor

已修复:#7050

2024/08/21 03:19:18 ERROR : Attempt 1/1 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed Transferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7sTransferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7s 2024/08/21 03:19:18 Failed to copy: Method Not Allowed: 405 Method Not Allowed
并没有修复 用的alist_8029a04 版本

用PR里写的解决版本了吗?

最新action编译版本 data下temp目录也存在

可以携带 --debug 运行看看吗

./alist server --debug

@hhsw2015
Copy link
Author

已修复:#7050

2024/08/21 03:19:18 ERROR : Attempt 1/1 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed Transferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7sTransferred: 4.027 MiB / 4.027 MiB, 100%, 589.226 KiB/s, ETA 0s Errors: 1 (retrying may help) Elapsed time: 8.7s 2024/08/21 03:19:18 Failed to copy: Method Not Allowed: 405 Method Not Allowed
并没有修复 用的alist_8029a04 版本

用PR里写的解决版本了吗?

最新action编译版本 data下temp目录也存在

可以携带 --debug 运行看看吗

./alist server --debug

你希望看什么日志 拷贝时候的日志 还是 启动的日志 启动的日志提供了

@Three-taile-dragon
Copy link
Contributor

webdav

使用 --debug参数运行时,再使用webdav上传看看,如果有报错,日志中是可以看到的

@hhsw2015
Copy link
Author

hhsw2015 commented Aug 21, 2024

DEBU[2024-08-21 12:00:10]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:10]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:10]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
[GIN] 2024/08/21 - 12:00:10 | 207 | 2.990875ms | 127.0.0.1 | PROPFIND "/dav/pp2/"
[GIN] 2024/08/21 - 12:00:19 | 207 | 363.083µs | 127.0.0.1 | PROPFIND "/dav/"
[GIN] 2024/08/21 - 12:00:19 | 207 | 300.125µs | 127.0.0.1 | PROPFIND "/dav/"
DEBU[2024-08-21 12:00:19]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
[GIN] 2024/08/21 - 12:00:19 | 207 | 589.5µs | 127.0.0.1 | PROPFIND "/dav/pp2/"
DEBU[2024-08-21 12:00:19]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
[GIN] 2024/08/21 - 12:00:19 | 207 | 407.958µs | 127.0.0.1 | PROPFIND "/dav/pp2/"
DEBU[2024-08-21 12:00:19]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /
DEBU[2024-08-21 12:00:19]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:564 github.com/alist-org/alist/v3/internal/op.Put() put file [windows v1.0.5.zip] done
ERRO[2024-08-21 12:00:22]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp2: RequestError: send request failed
caused by: Put "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/942E7EE08F3FF3198FDD576449468285A2574BF1_1724212823112555001": http: no Host in request URL
github.com/alist-org/alist/v3/internal/op.Put
/source/internal/op/fs.go:583
github.com/alist-org/alist/v3/internal/fs.putDirectly
/source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
/source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
/source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
ERRO[2024-08-21 12:00:22]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp2/windows v1.0.5.zip RequestError: send request failed
caused by: Put "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/942E7EE08F3FF3198FDD576449468285A2574BF1_1724212823112555001": http: no Host in request URL
github.com/alist-org/alist/v3/internal/op.Put
/source/internal/op/fs.go:583
github.com/alist-org/alist/v3/internal/fs.putDirectly
/source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
/source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
/source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:22 | 405 | 3.132886209s | 127.0.0.1 | PUT "/dav/pp2/windows v1.0.5.zip"
DEBU[2024-08-21 12:00:22]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
WARN[2024-08-21 12:00:22]/source/internal/fs/fs.go:40 github.com/alist-org/alist/v3/internal/fs.Get() failed get /pp2/windows v1.0.5.zip: object not found
ERRO[2024-08-21 12:00:22]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PROPFIND /dav/pp2/windows v1.0.5.zip object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:22 | 404 | 2.421959ms | 127.0.0.1 | PROPFIND "/dav/pp2/windows v1.0.5.zip"
DEBU[2024-08-21 12:00:22]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:22]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
WARN[2024-08-21 12:00:22]/source/internal/fs/fs.go:40 github.com/alist-org/alist/v3/internal/fs.Get() failed get /pp2/windows v1.0.5.zip: object not found
ERRO[2024-08-21 12:00:22]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PROPFIND /dav/pp2/windows v1.0.5.zip object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:22 | 404 | 2.162166ms | 127.0.0.1 | PROPFIND "/dav/pp2/windows v1.0.5.zip"
DEBU[2024-08-21 12:00:23]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
[GIN] 2024/08/21 - 12:00:23 | 207 | 674.333µs | 127.0.0.1 | PROPFIND "/dav/pp2/"
DEBU[2024-08-21 12:00:23]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
WARN[2024-08-21 12:00:23]/source/internal/fs/fs.go:40 github.com/alist-org/alist/v3/internal/fs.Get() failed get /pp2/windows v1.0.5.zip: object not found
ERRO[2024-08-21 12:00:23]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PROPFIND /dav/pp2/windows v1.0.5.zip object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:23 | 404 | 1.003167ms | 127.0.0.1 | PROPFIND "/dav/pp2/windows v1.0.5.zip"
DEBU[2024-08-21 12:00:23]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /
DEBU[2024-08-21 12:00:23]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /

2024/08/21 12:00:25 /source/internal/db/storage.go:22
[1.771ms] [rows:1] UPDATE x_storages SET mount_path="/pp2",order=0,driver="PikPak",cache_expiration=30,status="work",addition="{""root_folder_id"":"""",""username"":""test@outlook.com"",""password"":""password"",""platform"":""web"",""refresh_token"":""os.********************************************************"",""captcha_token"":"""",""device_id"":""4f520c6c8325e9ebe1890f53a423fca5"",""disable_media_link"":true}",remark="",modified="2024-08-21 11:57:05.188",disabled=false,enable_sign=false,order_by="",order_direction="",extract_folder="",web_proxy=false,webdav_policy="302_redirect",proxy_range=false,down_proxy_url="" WHERE id = 2
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:564 github.com/alist-org/alist/v3/internal/op.Put() put file [windows v1.0.5.zip] done
ERRO[2024-08-21 12:00:26]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp2: RequestError: send request failed
caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL
github.com/alist-org/alist/v3/internal/op.Put
/source/internal/op/fs.go:583
github.com/alist-org/alist/v3/internal/fs.putDirectly
/source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
/source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
/source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
ERRO[2024-08-21 12:00:26]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp2/windows v1.0.5.zip RequestError: send request failed
caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL
github.com/alist-org/alist/v3/internal/op.Put
/source/internal/op/fs.go:583
github.com/alist-org/alist/v3/internal/fs.putDirectly
/source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
/source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
/source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:26 | 405 | 2.817153875s | 127.0.0.1 | PUT "/dav/pp2/windows v1.0.5.zip"
DEBU[2024-08-21 12:00:26]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
WARN[2024-08-21 12:00:26]/source/internal/fs/fs.go:40 github.com/alist-org/alist/v3/internal/fs.Get() failed get /pp2/windows v1.0.5.zip: object not found
ERRO[2024-08-21 12:00:26]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PROPFIND /dav/pp2/windows v1.0.5.zip object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:26 | 404 | 2.465208ms | 127.0.0.1 | PROPFIND "/dav/pp2/windows v1.0.5.zip"
DEBU[2024-08-21 12:00:26]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage: /pp2
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:167 github.com/alist-org/alist/v3/internal/op.Get() op.Get /windows v1.0.5.zip
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:108 github.com/alist-org/alist/v3/internal/op.List() op.List /
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() use cache when list /
DEBU[2024-08-21 12:00:26]/source/internal/op/fs.go:228 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: windows v1.0.5.zip
WARN[2024-08-21 12:00:26]/source/internal/fs/fs.go:40 github.com/alist-org/alist/v3/internal/fs.Get() failed get /pp2/windows v1.0.5.zip: object not found
ERRO[2024-08-21 12:00:26]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() DELETE /dav/pp2/windows v1.0.5.zip object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handleDelete
/source/server/webdav/webdav.go:297
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:64
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 12:00:26 | 404 | 1.198042ms | 127.0.0.1 | DELETE "/dav/pp2/windows v1.0.5.zip"

@hhsw2015
Copy link
Author

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL
这个url拼接有问题?

@hhsw2015
Copy link
Author

The operation can’t be completed because one or more required items can’t be found.
(Error code -43)

@Three-taile-dragon
Copy link
Contributor

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

@hhsw2015
Copy link
Author

hhsw2015 commented Aug 21, 2024

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

ERRO[2024-08-21 12:43:44]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp: AccessDenied: Access denied by authorizer's policy.
status code: 403, request id: 66C570818E4DB932356820B5, host id:
github.com/alist-org/alist/v3/internal/op.Put
/source/internal/op/fs.go:583
github.com/alist-org/alist/v3/internal/fs.putDirectly
/source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
/source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
/source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
ERRO[2024-08-21 12:43:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp/eligibility_util AccessDenied: Access denied by authorizer's policy.

依然无法上传 报啥权限错误

@Three-taile-dragon
Copy link
Contributor

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

ERRO[2024-08-21 12:43:44]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp: AccessDenied: Access denied by authorizer's policy. status code: 403, request id: 66C570818E4DB932356820B5, host id: github.com/alist-org/alist/v3/internal/op.Put /source/internal/op/fs.go:583 github.com/alist-org/alist/v3/internal/fs.putDirectly /source/internal/fs/put.go:70 github.com/alist-org/alist/v3/internal/fs.PutDirectly /source/internal/fs/fs.go:97 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut /source/server/webdav/webdav.go:345 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:66 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 ERRO[2024-08-21 12:43:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp/eligibility_util AccessDenied: Access denied by authorizer's policy.

依然无法上传 报啥权限错误

换成 阿里的SDK了,这次应该没啥问题了
#7050

@hhsw2015
Copy link
Author

hhsw2015 commented Aug 21, 2024

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

ERRO[2024-08-21 12:43:44]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp: AccessDenied: Access denied by authorizer's policy. status code: 403, request id: 66C570818E4DB932356820B5, host id: github.com/alist-org/alist/v3/internal/op.Put /source/internal/op/fs.go:583 github.com/alist-org/alist/v3/internal/fs.putDirectly /source/internal/fs/put.go:70 github.com/alist-org/alist/v3/internal/fs.PutDirectly /source/internal/fs/fs.go:97 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut /source/server/webdav/webdav.go:345 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:66 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 ERRO[2024-08-21 12:43:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp/eligibility_util AccessDenied: Access denied by authorizer's policy.
依然无法上传 报啥权限错误

换成 阿里的SDK了,这次应该没啥问题了 #7050

测试了几个文件 可以上传上去了 但是有些上传偶尔会报错 要几次上传才能成功

github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1223
[GIN] 2024/08/21 - 17:06:44 | 404 | 2.019375ms | 127.0.0.1 | PROPFIND "/dav/pp1/微信分身多开 1.0.7.apk"
ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp1/微信分身多开 1.0.7.apk webdav: locked
[GIN] 2024/08/21 - 17:06:44 | 423 | 71.833µs | 127.0.0.1 | PUT "/dav/pp1/微信分身多开 1.0.7.apk"
ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() DELETE /dav/pp1/微信分身多开 1.0.7.apk webdav: locked
[GIN] 2024/08/21 - 17:06:44 | 423 | 90.041µs | 127.0.0.1 | DELETE "/dav/pp1/微信分身多开 1.0.7.apk"

webdav: locked ???

@Three-taile-dragon
Copy link
Contributor

Three-taile-dragon commented Aug 21, 2024

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

ERRO[2024-08-21 12:43:44]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp: AccessDenied: Access denied by authorizer's policy. status code: 403, request id: 66C570818E4DB932356820B5, host id: github.com/alist-org/alist/v3/internal/op.Put /source/internal/op/fs.go:583 github.com/alist-org/alist/v3/internal/fs.putDirectly /source/internal/fs/put.go:70 github.com/alist-org/alist/v3/internal/fs.PutDirectly /source/internal/fs/fs.go:97 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut /source/server/webdav/webdav.go:345 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:66 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 ERRO[2024-08-21 12:43:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp/eligibility_util AccessDenied: Access denied by authorizer's policy.
依然无法上传 报啥权限错误

换成 阿里的SDK了,这次应该没啥问题了 #7050

测试了几个文件 可以上传上去了 但是有些上传偶尔会报错 要几次上传才能成功

github.com/alist-org/alist/v3/internal/op.Get /source/internal/op/fs.go:229 github.com/alist-org/alist/v3/internal/fs.get /source/internal/fs/get.go:38 github.com/alist-org/alist/v3/internal/fs.Get /source/internal/fs/fs.go:37 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind /source/server/webdav/webdav.go:633 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:76 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 [GIN] 2024/08/21 - 17:06:44 | 404 | 2.019375ms | 127.0.0.1 | PROPFIND "/dav/pp1/微信分身多开 1.0.7.apk" ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp1/微信分身多开 1.0.7.apk webdav: locked [GIN] 2024/08/21 - 17:06:44 | 423 | 71.833µs | 127.0.0.1 | PUT "/dav/pp1/微信分身多开 1.0.7.apk" ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() DELETE /dav/pp1/微信分身多开 1.0.7.apk webdav: locked [GIN] 2024/08/21 - 17:06:44 | 423 | 90.041µs | 127.0.0.1 | DELETE "/dav/pp1/微信分身多开 1.0.7.apk"

webdav: locked ???

又找到一个Bug,在修别的。不过你这个报错,我没遇到过

@Three-taile-dragon
Copy link
Contributor

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

ERRO[2024-08-21 12:43:44]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp: AccessDenied: Access denied by authorizer's policy. status code: 403, request id: 66C570818E4DB932356820B5, host id: github.com/alist-org/alist/v3/internal/op.Put /source/internal/op/fs.go:583 github.com/alist-org/alist/v3/internal/fs.putDirectly /source/internal/fs/put.go:70 github.com/alist-org/alist/v3/internal/fs.PutDirectly /source/internal/fs/fs.go:97 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut /source/server/webdav/webdav.go:345 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:66 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 ERRO[2024-08-21 12:43:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp/eligibility_util AccessDenied: Access denied by authorizer's policy.
依然无法上传 报啥权限错误

换成 阿里的SDK了,这次应该没啥问题了 #7050

测试了几个文件 可以上传上去了 但是有些上传偶尔会报错 要几次上传才能成功

github.com/alist-org/alist/v3/internal/op.Get /source/internal/op/fs.go:229 github.com/alist-org/alist/v3/internal/fs.get /source/internal/fs/get.go:38 github.com/alist-org/alist/v3/internal/fs.Get /source/internal/fs/fs.go:37 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind /source/server/webdav/webdav.go:633 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:76 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 [GIN] 2024/08/21 - 17:06:44 | 404 | 2.019375ms | 127.0.0.1 | PROPFIND "/dav/pp1/微信分身多开 1.0.7.apk" ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp1/微信分身多开 1.0.7.apk webdav: locked [GIN] 2024/08/21 - 17:06:44 | 423 | 71.833µs | 127.0.0.1 | PUT "/dav/pp1/微信分身多开 1.0.7.apk" ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() DELETE /dav/pp1/微信分身多开 1.0.7.apk webdav: locked [GIN] 2024/08/21 - 17:06:44 | 423 | 90.041µs | 127.0.0.1 | DELETE "/dav/pp1/微信分身多开 1.0.7.apk"

webdav: locked ???

现在应该修复完了:#7050
不过你这个是什么情况下触发的?

@hhsw2015
Copy link
Author

hhsw2015 commented Aug 21, 2024

caused by: Post "https:///s3./mypikpak.com/vip-lixian-07/upload_tmp/9AE7954B0B7B6C67FABDB93A208D21AF87407681_1724212827119883555?uploads=": http: no Host in request URL 这个url拼接有问题?

pikpak官方接口返回的有问题,现在应该处理好了:#7050

ERRO[2024-08-21 12:43:44]/source/internal/fs/fs.go:99 github.com/alist-org/alist/v3/internal/fs.PutDirectly() failed put /pp: AccessDenied: Access denied by authorizer's policy. status code: 403, request id: 66C570818E4DB932356820B5, host id: github.com/alist-org/alist/v3/internal/op.Put /source/internal/op/fs.go:583 github.com/alist-org/alist/v3/internal/fs.putDirectly /source/internal/fs/put.go:70 github.com/alist-org/alist/v3/internal/fs.PutDirectly /source/internal/fs/fs.go:97 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut /source/server/webdav/webdav.go:345 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:66 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 ERRO[2024-08-21 12:43:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp/eligibility_util AccessDenied: Access denied by authorizer's policy.
依然无法上传 报啥权限错误

换成 阿里的SDK了,这次应该没啥问题了 #7050

测试了几个文件 可以上传上去了 但是有些上传偶尔会报错 要几次上传才能成功
github.com/alist-org/alist/v3/internal/op.Get /source/internal/op/fs.go:229 github.com/alist-org/alist/v3/internal/fs.get /source/internal/fs/get.go:38 github.com/alist-org/alist/v3/internal/fs.Get /source/internal/fs/fs.go:37 github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind /source/server/webdav/webdav.go:633 github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP /source/server/webdav/webdav.go:76 github.com/alist-org/alist/v3/server.ServeWebDAV /source/server/webdav.go:46 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /source/server/webdav.go:113 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /source/server/middlewares/check.go:14 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(*Context).Next /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(*Engine).ServeHTTP /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:3210 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:2092 runtime.goexit /usr/local/go/src/runtime/asm_arm64.s:1223 [GIN] 2024/08/21 - 17:06:44 | 404 | 2.019375ms | 127.0.0.1 | PROPFIND "/dav/pp1/微信分身多开 1.0.7.apk" ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/pp1/微信分身多开 1.0.7.apk webdav: locked [GIN] 2024/08/21 - 17:06:44 | 423 | 71.833µs | 127.0.0.1 | PUT "/dav/pp1/微信分身多开 1.0.7.apk" ERRO[2024-08-21 17:06:44]/source/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() DELETE /dav/pp1/微信分身多开 1.0.7.apk webdav: locked [GIN] 2024/08/21 - 17:06:44 | 423 | 90.041µs | 127.0.0.1 | DELETE "/dav/pp1/微信分身多开 1.0.7.apk"
webdav: locked ???

现在应该修复完了:#7050 不过你这个是什么情况下触发的?

这个是用工具挂载webdav到本地 然后往里面粘贴文件就遇到了

测试了rclone 还是遇到了405 错误 (alist_133b8cd), 我下载个最新版本再测测吧

Transferred: 0 / 1, 0%
Elapsed time: 19m23.8s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxTransferred:   	    1.785 GiB / 1.785 GiB, 100%, 0 B/s, ETA 0s
    

Transferred: 0 / 1, 0%
Elapsed time: 19m24.3s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxTransferred:   	    1.785 GiB / 1.785 GiB, 100%, 0 B/s, ETA 0s
    

Transferred: 0 / 1, 0%
Elapsed time: 19m24.8s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxx
    

2024/08/21 09:54:18 INFO :
Transferred: 1.785 GiB / 1.785 GiB, 100%, 0 B/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 19m25.1s

2024/08/21 09:54:18 Failed to copy: Method Not Allowed: 405 Method Not Allowed
2024/08/21 09:54:18 ERROR : 8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxHFXTHo.mp4: Failed to copy: Method Not Allowed: 405 Method Not Allowed
Transferred: 1.785 GiB / 1.785 GiB, 100%, 0 B/s, ETA 0s
Errors: 1 (retrying may help)
Transferred: 0 / 1, 0%
Elapsed time: 19m25.1s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxx
    

2024/08/21 09:54:18 ERROR : Attempt 1/1 failed with 1 errors and: Method Not Allowed: 405 Method Not Allowed
Transferred: 1.785 GiB / 1.785 GiB, 100%, 0 B/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 19m25.1sTransferred: 1.785 GiB / 1.785 GiB, 100%, 0 B/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 19m25.1s

@hhsw2015
Copy link
Author

hhsw2015 commented Aug 21, 2024

最新编译的alist_0592458版本 用rclone 上传 没有遇到405错误 文件也上传成功了

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxTransferred:   	    1.785 GiB / 1.785 GiB, 100%, 59.895 MiB/s, ETA 0s
    

Transferred: 0 / 1, 0%
Elapsed time: 26.5s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxTransferred:   	    1.785 GiB / 1.785 GiB, 100%, 59.895 MiB/s, ETA 0s
    

Transferred: 0 / 1, 0%
Elapsed time: 27.0s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxx
    

2024/08/21 11:31:29 INFO :
Transferred: 1.785 GiB / 1.785 GiB, 100%, 56.152 MiB/s, ETA 0s
Transferred: 1 / 1, 100%
2024/08/21 11:31:29 INFO : 8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxHFXTHo.mp4: Copied (new)
Elapsed time: 27.2s
Transferred: 1.785 GiB / 1.785 GiB, 100%, 56.152 MiB/s, ETA 0s
Transferred: 0 / 1, 0%
Elapsed time: 27.2s
Transferring:

  •  8月20日发现武昌好地方棋牌室一条街美女打牌教练_1lcxxTransferred:   	    1.785 GiB / 1.785 GiB, 100%, 56.152 MiB/s, ETA 0s
    

Transferred: 1 / 1, 100%
Elapsed time: 27.2s

这个问题应该是解决了 辛苦了 感谢

@github-actions github-actions bot mentioned this issue Sep 15, 2024
4 tasks
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

4 participants