AlistGo / AlistGo/alist

无法获取目标地址文件的时候浏览器处返回了200

Offen
#7,586 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Go
Sterne
50.2k
Forks
7.9k
Ø Merge
7 T. 21 Std.
Gemergte PRs (30 T.)
6

Beschreibung

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

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

- [X] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [X] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。

### AList Version / AList 版本

v3.40.0

### Driver used / 使用的存储驱动

AList V3

### Describe the bug / 问题描述

![image](https://github.com/user-attachments/assets/d80cc33c-3e75-4574-aba0-b620e4233293)
![image](https://github.com/user-attachments/assets/2e983a8c-920d-4226-a52d-3c78ff409d2b)
无法正常获取的时候在浏览器处显示为HTTP 200正常
导致搜索引擎无法正常识别已经被删除的内容无法正常更新搜索引擎索引

### Reproduction / 复现链接

https://www.kaialist.top/othervideo/[Sakurato]%20Ryza%20no%20Atelier%20[%20%E8%8E%B1%E8%8E%8E%E7%9A%84%E7%82%BC%E9%87%91%E5%B7%A5%E6%88%BF%EF%BD%9E%E5%B8%B8%E6%9A%97%E5%A5%B3%E7%8E%8B%E4%B8%8E%E7%A7%98%E5%AF%86%E8%97%8F%E8%BA%AB%E5%A4%84%EF%BD%9E][01-12%20Fin][HEVC-10bit%201080p%20AAC][CHS&CHT]

### Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "",
"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": "",
"api_key": "",
"index_prefix": "kaihomealist"
},
"scheme": {
"address": "0.0.0.0",
"http_port": 39876,
"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": false,
"name": "data\\log\\log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 300,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": true
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
}
},
"cors": {
"allow_origins": [
"*"
],
"allow_methods": [
"*"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

### Logs / 日志

[GIN] 2024/12/01 - 09:10:19 | 200 | 7.4551ms | 59.39.222.140 | POST "/api/fs/list"
ERRO[2024-12-01 09:10:29] fs/list: object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:116
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:217
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:116
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/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/source/server/middlewares/auth.go:45
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.Init.MaxAllowed.func6
/source/server/middlewares/limit.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/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_amd64.s:1700
failed get dir
failed get parent list
failed get dir
ERRO[2024-12-01 09:10:29] failed list /sdcard/share/othervideo/[Sakurato] Ryza no Atelier [ 莱莎的炼金工房 ~常暗女王与秘密藏身处~][01-12 Fin][HEVC-10bit 1080p AAC][CHS&CHT]: object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:116
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:217
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:116
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/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/source/server/middlewares/auth.go:45
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.Init.MaxAllowed.func6
/source/server/middlewares/limit.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/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_amd64.s:1700
failed get dir
failed get parent list
failed get dir
failed get objs

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.