You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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
orOperational
).我确定是
AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.27.0
Driver used / 使用的存储驱动
阿里云盘 open
Describe the bug / 问题描述
在 Node.js 中使用 webdav 包,无法通过 stream 上传文件到 alist 的阿里云盘 open 驱动 (经测试, 同样方式可以上传到本机存储驱动, 其他驱动能否工作未知)
复现示例代码:
Reproduction / 复现链接
见上
Config / 配置
设置 admin 密码为 abcdef
添加一个挂载到
/aliyundriver/
的阿里云盘 open 挂载。其余均为默认配置:
Logs / 日志
[GIN] 2023/09/21 - 17:50:04 | 200 | 242.918µs | ::1 | GET "/p/desktop/README.md?ts=1695289804420"
2023/09/21 17:51:14 [Recovery] 2023/09/21 - 17:51:14 panic recovered:
runtime error: makeslice: cap out of range
/usr/local/go/src/runtime/slice.go:33 (0x1000546f2)
/usr/local/go/src/runtime/slice.go:100 (0x1000546df)
/source/internal/stream/stream.go:90 (0x10059ebcb)
/source/drivers/aliyundrive_open/upload.go:246 (0x100ec5bd1)
/source/drivers/aliyundrive_open/driver.go:196 (0x100ec3713)
/source/internal/op/fs.go:531 (0x1004c554d)
/source/internal/fs/put.go:54 (0x1009621d0)
/source/internal/fs/fs.go:96 (0x10096022e)
/source/server/webdav/webdav.go:336 (0x1011dd0a4)
/source/server/webdav/webdav.go:64 (0x1011da8da)
/source/server/webdav.go:46 (0x1011e7167)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x1011e7aa6)
/source/server/webdav.go:112 (0x1011e7a94)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x1011722e5)
/source/server/middlewares/check.go:14 (0x1011722d3)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x100951379)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x100951367)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x10095051d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 (0x1009504ec)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x10094f5da)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x10094f26d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x10094ed9c)
/usr/local/go/src/net/http/server.go:2938 (0x10034320d)
/usr/local/go/src/net/http/server.go:2009 (0x10033f0f3)
/usr/local/go/src/runtime/asm_amd64.s:1650 (0x1000736e0)
[GIN] 2023/09/21 - 17:51:14 | 500 | 613.027873ms | ::1 | PUT "/dav/aliyundriver/README.md"
The text was updated successfully, but these errors were encountered: