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

The length of the URL for this request exceeds the configured maxUrlLength value #7066

Open
4 tasks done
muxinxy opened this issue Aug 23, 2024 · 1 comment
Open
4 tasks done
Labels
bug Something isn't working stale No activity for more than 30 days

Comments

@muxinxy
Copy link

muxinxy commented Aug 23, 2024

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

v3.36.0

Driver used / 使用的存储驱动

OneDrive

Describe the bug / 问题描述

通过 AList API 复制文件时报错 The length of the URL for this request exceeds the configured maxUrlLength value

Reproduction / 复现链接

/api/fs/list/E5/Crypt/8X-upPDbFZn7k4TFRqyowg/jaibNhu52NMojj0EIksJ4A/0NYJhsyvKMGibXLAY85gqw/2ZMRY3PpI4EJGJ0qCTt9AA/2AHUsYdq-zLesOYcvEsAHA/MZBJsuZfbURI-S7rCCgH6A/JtNp2acf5WZr_01aIwR-8A/bAUs30gHIfkdWzgPnQxruQ/IjnIqZMVDo1ucs_0D2WPAg/6CxkFDOnkHXKa2YiQDVfKQ/Tl0TGqE1GjGmb1_v33poPpP-3w-49XjLNmLWYSV0Et0/Bx4hbTJUGGQLW8rc5oWZAA/wnT009_Buxf07NmXoRPJUg/j8OJ0WuVQFkHDORZuI1IqA

Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "URbwS9CJTR4RMWIW",
"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": 10,
"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
},
"transfer": {
"workers": 5,
"max_retry": 2
},
"upload": {
"workers": 5,
"max_retry": 0
},
"copy": {
"workers": 5,
"max_retry": 2
}
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
"
"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

Logs / 日志

�[31mERRO�[0m[2024-08-23 02:19:18] failed list /E5/Crypt/8X-upPDbFZn7k4TFRqyowg/jaibNhu52NMojj0EIksJ4A/0NYJhsyvKMGibXLAY85gqw/2ZMRY3PpI4EJGJ0qCTt9AA/2AHUsYdq-zLesOYcvEsAHA/MZBJsuZfbURI-S7rCCgH6A/JtNp2acf5WZr_01aIwR-8A/bAUs30gHIfkdWzgPnQxruQ/IjnIqZMVDo1ucs_0D2WPAg/6CxkFDOnkHXKa2YiQDVfKQ/Tl0TGqE1GjGmb1_v33poPpP-3w-49XjLNmLWYSV0Et0/Bx4hbTJUGGQLW8rc5oWZAA/wnT009_Buxf07NmXoRPJUg/j8OJ0WuVQFkHDORZuI1IqA: The length of the URL for this request exceeds the configured maxUrlLength value.
failed to list objs
github.com/alist-org/alist/v3/internal/op.List.func1
/source/internal/op/fs.go:127
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall.func2
/source/pkg/singleflight/singleflight.go:193
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall
/source/pkg/singleflight/singleflight.go:195
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).Do
/source/pkg/singleflight/singleflight.go:108
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:124
github.com/alist-org/alist/v3/internal/fs.list
/source/internal/fs/list.go:25
github.com/alist-org/alist/v3/internal/fs.List
/source/internal/fs/fs.go:22
github.com/alist-org/alist/v3/server/handles.FsList
/source/server/handles/fsread.go:86
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/source/server/middlewares/auth.go:28
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/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/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589
net/http.serverHandler.ServeHTTP
/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3137
net/http.(*conn).serve
/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2039
runtime.goexit
/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695
failed get objs

@muxinxy muxinxy added the bug Something isn't working label Aug 23, 2024
Copy link

stale bot commented Oct 6, 2024

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.

@stale stale bot added the stale No activity for more than 30 days label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity for more than 30 days
Projects
None yet
Development

No branches or pull requests

1 participant