mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 12:55:57 +03:00
[GH-ISSUE #849] [bug] Windows端无法连接自托管服务(Gitea/S3/WebDAV) #631
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#631
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yunkuangao on GitHub (Jan 12, 2026).
Original GitHub issue: https://github.com/codexu/note-gen/issues/849
详细描述这个 Bug
问题
自托管服务(Gitea/S3/WebDAV)始终无法连接(Windows客户端不可用,Android客户端可用)
访问链路
win11(ipv6,移动) -> internet -> openwrt(电信) -> lucky(6to4) -> server(Qnap/Pve)
如果使用纯ipv6(公网ip)地址访问是可以成功的,但是使用域名(会经过代理,但是移动端能访问)就无法连接
如果是ipv4地址(异地组网内网ip)也可以直接访问
Gitea:

S3:

WebDAV:

windows版本: 11 25H2 26200.7462
客户端版本: 0.24.0/0.23.7/0.23.6
移动端版本: 0.23.6
NoteGen 版本
0.24.0
操作系统
Windows
报错日志
Gitea
Gitea 获取用户信息失败: error sending request for url (https://XXX.XXX.XXX/api/v1/user)
Failed to check Gitea repos: error sending request for url (https://XXX.XXX.XXX/api/v1/user)
S3
S3 connection test failed: error sending request for url (https://XXX.XXX.XXX/notegen)
POST http://127.0.0.1:36677/upload net::ERR_CONNECTION_REFUSED
WebDAV
"创建远程根目录失败: 创建目录 'path' 失败: reqwest_dav::Error { kind: "Reqwest", source: reqwest::Error { kind: Request, url: "https://XXX.XXX.XXX/path/", source: hyper_util::client::legacy::Error(Connect, Os { code: -2146893018, kind: Uncategorized, message: "接收到的消息异常,或格式不正确。" }) } }"