[GH-ISSUE #527] 设置账号密码后 手机很多浏览器下载会401 #304

Closed
opened 2026-04-08 16:51:52 +03:00 by zhus · 1 comment
Owner

Originally created by @hhmmLife on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/527

Problem

设置账号密码后 手机上夸克、小米浏览器、via下载文件全部401,只有chrome可以下载

Configuration
services:
dufs:
image: sigoden/dufs:latest
container_name: dufs_tmpfile
ports:
- "5001:5000"
volumes:
- /home/syncHub/Temp:/data
command: >
-a user:psw@/:rw
/data -A
restart: unless-stopped

Log

2025-01-17T09:51:16Z INFO - 172.29.0.1 "GET /%E6%96%B0%E5%BB%BA%E6%96%87%E6%9C%AC%E6%96%87%E6%A1%A3.txt" 401

Environment Information

  • Dufs version:0.43.0
  • Browser/Webdav info: 夸克 小米浏览器 via
  • OS info: android
  • Proxy server (if any):
Originally created by @hhmmLife on GitHub (Jan 17, 2025). Original GitHub issue: https://github.com/sigoden/dufs/issues/527 **Problem** 设置账号密码后 手机上夸克、小米浏览器、via下载文件全部401,只有chrome可以下载 **Configuration** services: dufs: image: sigoden/dufs:latest container_name: dufs_tmpfile ports: - "5001:5000" volumes: - /home/syncHub/Temp:/data command: > -a user:psw@/:rw /data -A restart: unless-stopped **Log** 2025-01-17T09:51:16Z INFO - 172.29.0.1 "GET /%E6%96%B0%E5%BB%BA%E6%96%87%E6%9C%AC%E6%96%87%E6%A1%A3.txt" 401 **Environment Information** - Dufs version:0.43.0 - Browser/Webdav info: 夸克 小米浏览器 via - OS info: android - Proxy server (if any):
zhus closed this issue 2026-04-08 16:51:52 +03:00
Author
Owner

@sigoden commented on GitHub (Jan 17, 2025):

Same as https://github.com/sigoden/dufs/issues/465#issuecomment-2424791058

Some browsers do not send the authorization header, resulting in a 401 error.
This error does not occur with Chrome.

<!-- gh-comment-id:2598269402 --> @sigoden commented on GitHub (Jan 17, 2025): Same as https://github.com/sigoden/dufs/issues/465#issuecomment-2424791058 Some browsers do not send the authorization header, resulting in a 401 error. This error does not occur with Chrome.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#304