alist icon indicating copy to clipboard operation
alist copied to clipboard

蓝奏云下载页面仍然报failed link: failed get link

Open StackExplode opened this issue 1 year ago • 11 comments

Please make sure of the following things

  • [X] I have read the documentation. 我已经阅读了文档

  • [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 ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

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

AList Version / AList 版本

3.37.3

Driver used / 使用的存储驱动

蓝奏云

Describe the bug / 问题描述

点击蓝奏云中任意文件,下载页加载缓慢,然后提示如下错误: image 但是复制图中报错的链接直接下载却是可以正常下载的。

Reproduction / 复现链接

我使用私有配置,难以对外提供链接,如果debug必须,请告知我。

Config / 配置

image

Logs / 日志

点击展开
[GIN] 2024/09/18 - 10:50:43 | 200 | 30.494926685s |   112.21.48.119 | POST     "/api/fs/get"
[GIN] 2024/09/18 - 10:53:12 | 200 |     146.357µs |   112.21.48.119 | GET      "/Jennings蓝奏云/1.ppt"
[GIN] 2024/09/18 - 10:53:12 | 200 |     235.919µs |   112.21.48.119 | GET      "/api/public/settings"
[GIN] 2024/09/18 - 10:53:12 | 200 |     185.779µs |   112.21.48.119 | GET      "/api/me"
[GIN] 2024/09/18 - 10:53:12 | 200 |      64.801µs |   112.21.48.119 | GET      "/api/public/offline_download_tools"
ERRO[2024-09-18 10:53:43] failed link /Jennings蓝奏云/1.ppt: Get "http://develope-oss.lanzouc.com/file/?B2FUa(***隐去***)BzNWaQM1": dial tcp [240e:5a:2003:3131::41]:80: i/o timeout
failed get link
github.com/alist-org/alist/v3/internal/op.Link.func1
        /source/internal/op/fs.go:260
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.Link
        /source/internal/op/fs.go:276
github.com/alist-org/alist/v3/internal/fs.link
        /source/internal/fs/link.go:19
github.com/alist-org/alist/v3/internal/fs.Link
        /source/internal/fs/fs.go:48
github.com/alist-org/alist/v3/server/handles.FsGet
        /source/server/handles/fsread.go:305
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:73
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
        /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 link
[GIN] 2024/09/18 - 10:53:43 | 200 | 30.493846295s |   112.21.48.119 | POST     "/api/fs/get"

StackExplode avatar Sep 18 '24 02:09 StackExplode

See

  1. 68% #3613
  2. 63% #2133
  3. 60% #3376
  4. 54% #4529
  5. 53% #3438

github-actions[bot] avatar Sep 18 '24 02:09 github-actions[bot]

换个分享链接就行

pongfcnkl avatar Sep 18 '24 03:09 pongfcnkl

换个分享链接就行

您是说后台设置中的“分享链接”字段吗?我使用了官方文档内建议的https://wwop.lanzoul.com可是报错。请问应该换成哪个呢?

StackExplode avatar Sep 18 '24 03:09 StackExplode

换个分享链接就行

您是说后台设置中的“分享链接”字段吗?我使用了官方文档内建议的https://wwop.lanzoul.com可是报错。请问应该换成哪个呢?

还有ua

pongfcnkl avatar Sep 18 '24 03:09 pongfcnkl

换个分享链接就行

您是说后台设置中的“分享链接”字段吗?我使用了官方文档内建议的https://wwop.lanzoul.com可是报错。请问应该换成哪个呢?

还有ua

请问应该使用什么UA呢?我在手册里没有找到描述:https://alist.nn.ci/zh/guide/drivers/lanzou.html#%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF

StackExplode avatar Sep 18 '24 03:09 StackExplode

换个分享链接就行

您是说后台设置中的“分享链接”字段吗?我使用了官方文档内建议的https://wwop.lanzoul.com可是报错。请问应该换成哪个呢?

还有ua

请问应该使用什么UA呢?我在手册里没有找到描述:https://alist.nn.ci/zh/guide/drivers/lanzou.html#%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF

Screenshot_20240918-124522-564

pongfcnkl avatar Sep 18 '24 04:09 pongfcnkl

换个分享链接就行

您是说后台设置中的“分享链接”字段吗?我使用了官方文档内建议的https://wwop.lanzoul.com可是报错。请问应该换成哪个呢?

还有ua

请问应该使用什么UA呢?我在手册里没有找到描述:https://alist.nn.ci/zh/guide/drivers/lanzou.html#%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF

Screenshot_20240918-124522-564

不好意思啊,您的截图好像没有截全,我尝试了把蓝奏的三级域名换成您截图中的样式,并且使用如下UA:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36可是症状依旧...

StackExplode avatar Sep 18 '24 05:09 StackExplode

不好意思啊,您的截图好像没有截全,我尝试了把蓝奏的三级域名换成您截图中的样式,并且使用如下UA:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36可是症状依旧...

开web代理

pongfcnkl avatar Sep 18 '24 06:09 pongfcnkl

不好意思啊,您的截图好像没有截全,我尝试了把蓝奏的三级域名换成您截图中的样式,并且使用如下UA:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36可是症状依旧...

开web代理

感谢您耐心的回复,但是我在问问题前已经把所有web UI中能够排列组合的设置全部试过了,都无效才问的。打开web代理后下载页能够显示,点击下载按钮后转圈,最后然后以plain text的形式返回了相同的错误。

StackExplode avatar Sep 18 '24 06:09 StackExplode

不好意思啊,您的截图好像没有截全,我尝试了把蓝奏的三级域名换成您截图中的样式,并且使用如下UA:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36可是症状依旧...

开web代理

感谢您耐心的回复,但是我在问问题前已经把所有web UI中能够排列组合的设置全部试过了,都无效才问的。打开web代理后下载页能够显示,点击下载按钮后转圈,最后然后以plain text的形式返回了相同的错误。

你把设备的ipv6关掉呢

pongfcnkl avatar Sep 18 '24 06:09 pongfcnkl

不好意思啊,您的截图好像没有截全,我尝试了把蓝奏的三级域名换成您截图中的样式,并且使用如下UA:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36可是症状依旧...

开web代理

感谢您耐心的回复,但是我在问问题前已经把所有web UI中能够排列组合的设置全部试过了,都无效才问的。打开web代理后下载页能够显示,点击下载按钮后转圈,最后然后以plain text的形式返回了相同的错误。

你把设备的ipv6关掉呢

谢谢您,但是好像还是无效...我用手机等其他设备也试过,错误依旧。 image

StackExplode avatar Sep 18 '24 07:09 StackExplode