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

更新gowebdav依赖以支持Digest Auth中的stale指令 #7556

Open
4 tasks done
JinzeShi opened this issue Nov 24, 2024 · 0 comments
Open
4 tasks done

更新gowebdav依赖以支持Digest Auth中的stale指令 #7556

JinzeShi opened this issue Nov 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JinzeShi
Copy link

JinzeShi commented Nov 24, 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.40.0

Driver used / 使用的存储驱动

WebDAV

Describe the bug / 问题描述

您好,开发团队:

近期在使用 Alist 挂载启用了 Digest Authentication 的 WebDAV 服务器时,发现Alist 无法针对 stale 指令进行重新认证,从而导致频繁出现 401 Unauthorized 错误。经过排查,确认问题源于 Alist 使用的 gowebdav 依赖版本过旧,而该问题已在 gowebdav 的新版本中修复。
相关修复 PR:studio-b12/gowebdav#80 - Add support for stale directive for digest authenticator

Reproduction / 复现链接

使用 Digest Authentication 的 WebDAV 在初次认证时能够正确通过,但当 nonce 过期后,无法针对新的 nonce 进行重新认证,导致出现 401 Unauthorized 错误。
image

Config / 配置

image image

Logs / 日志

webdav proxy error: http request [http://.../***] failure,status: 401 response:

<title>401 Unauthorized</title>

Unauthorized

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.


Apache/2.4.52 (Ubuntu) Server at *.*.*.* Port 8080
@JinzeShi JinzeShi added the bug Something isn't working label Nov 24, 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
Projects
None yet
Development

No branches or pull requests

1 participant