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

failed get objs: failed to list objs: PROPFIND /: 400 #7771

Open
4 tasks done
YowFung opened this issue Jan 3, 2025 · 1 comment
Open
4 tasks done

failed get objs: failed to list objs: PROPFIND /: 400 #7771

YowFung opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@YowFung
Copy link

YowFung commented Jan 3, 2025

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.41.0

Driver used / 使用的存储驱动

WebDav

Describe the bug / 问题描述

PC 电脑上的 Everything 软件开启了 HTTP 服务,通过浏览器可以正常访问,但是通过 Alist 挂载时,出现了「failed get objs: failed to list objs: PROPFIND /: 400」报错。

image
image
image
image

Reproduction / 复现链接

按照上面“问题描述”可复现问题。

Config / 配置

{
  "force": false,
  "site_url": "https://xxx.xxx",
  "cdn": "",
  "jwt_secret": "xxx",
  "token_expires_in": 48,
  "database": {
    "type": "mysql",
    "host": "xxx",
    "port": 3306,
    "user": "xxx",
    "password": "xxx",
    "name": "xxx",
    "db_file": "data/data.db",
    "table_prefix": "",
    "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": "data/dist",
  "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,
      "task_persistant": false
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    },
    "upload": {
      "workers": 5,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  },
  "ftp": {
    "enable": false,
    "listen": ":5221",
    "find_pasv_port_attempts": 50,
    "active_transfer_port_non_20": false,
    "idle_timeout": 900,
    "connection_timeout": 30,
    "disable_active_mode": false,
    "default_transfer_binary": false,
    "enable_active_conn_ip_check": true,
    "enable_pasv_conn_ip_check": true
  },
  "sftp": {
    "enable": false,
    "listen": ":5222"
  }
}

Logs / 日志

Everything 的日志:

2025/1/3 11:16: HTTP server online.
2025/1/3 11:17: 1292: 192.168.31.5: 400 Bad Request

Alist 的日志:

[GIN] 2025/01/03 - 11:17:07 | 200 |   52.803397ms |   192.168.31.20 | GET      "/pc/yxxxxxg-win"
[GIN] 2025/01/03 - 11:17:08 | 200 |   28.317414ms |   192.168.31.20 | GET      "/api/public/settings"
[GIN] 2025/01/03 - 11:17:08 | 200 |   34.010529ms |   192.168.31.20 | GET      "/api/me"
[GIN] 2025/01/03 - 11:17:08 | 200 |      32.651Âľs |   192.168.31.20 | GET      "/api/public/offline_download_tools"
[GIN] 2025/01/03 - 11:17:08 | 200 |     354.359Âľs |   192.168.31.20 | POST     "/api/fs/get"
�[31mERRO�[0m[2025-01-03 11:17:08] fs/list: PROPFIND /: 400
failed to list objs
github.com/alist-org/alist/v3/internal/op.List.func1
	/home/runner/work/alist/alist/internal/op/fs.go:127
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall.func2
	/home/runner/work/alist/alist/pkg/singleflight/singleflight.go:193
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall
	/home/runner/work/alist/alist/pkg/singleflight/singleflight.go:195
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).Do
	/home/runner/work/alist/alist/pkg/singleflight/singleflight.go:108
github.com/alist-org/alist/v3/internal/op.List
	/home/runner/work/alist/alist/internal/op/fs.go:124
github.com/alist-org/alist/v3/internal/fs.list
	/home/runner/work/alist/alist/internal/fs/list.go:25
github.com/alist-org/alist/v3/internal/fs.List
	/home/runner/work/alist/alist/internal/fs/fs.go:22
github.com/alist-org/alist/v3/server/handles.FsList
	/home/runner/work/alist/alist/server/handles/fsread.go:86
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
	/home/runner/work/alist/alist/server/middlewares/auth.go:73
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
	/home/runner/work/alist/alist/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589
net/http.serverHandler.ServeHTTP
	/opt/hostedtoolcache/go/1.23.4/x64/src/net/http/server.go:3210
net/http.(*conn).serve
	/opt/hostedtoolcache/go/1.23.4/x64/src/net/http/server.go:2092
runtime.goexit
	/opt/hostedtoolcache/go/1.23.4/x64/src/runtime/asm_amd64.s:1700 
�[31mERRO�[0m[2025-01-03 11:17:08] failed list /pc/yxxxxxg-win: PROPFIND /: 400
failed to list objs
@YowFung YowFung added the bug Something isn't working label Jan 3, 2025
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

1 participant