Kazumi icon indicating copy to clipboard operation
Kazumi copied to clipboard

[Bug]: webdav同步错误

Open qxiaoguiq195 opened this issue 9 months ago • 16 comments

在使用的时候发生了什么 Bug ?

使用坚果云同步错误 明明观看到第四集同步时是第三集的错误情况 手动上传 手动下载 还把文件给删除在下载然一样

您在使用哪个操作系统?

Windows

请具体提供设备、版本号等信息。

Windows 10 22H2 最新版Kazumi 使用的是安装版本

(选填)一些与 Bug 相关的硬件信息。

No response

日志信息

Log
[**2025-03-13 18:29:36.006490** 
Resolve bangumi trends list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:29:41.852406** 
Resolve calendar failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:29:51.479178** 
Resolve bangumi trends list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:29:52.833227** 
Resolve bangumi trends list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:30:23.311983** 
Resolve bangumi trends list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:30:26.087099** 
Resolve bangumi list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:30:55.754073** 
Resolve bangumi trends list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-03-13 18:32:44.675612** 
Resolve bangumi trends list failed type 'Null' is not a subtype of type 'Iterable<dynamic>' 
 
**2025-04-03 20:45:51.956713** 
webDav backup directory create failed 
 
**2025-04-03 20:45:56.037400** 
webDav update history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache 
 
**2025-04-03 20:45:57.458721** 
webDav update history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache 
 
**2025-04-03 20:46:08.904648** 
webDav download and patch history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp 
 
**2025-04-03 20:46:19.443840** 
webDav update history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache 
 
**2025-04-03 20:46:23.229917** 
webDav download and patch history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp 
 
**2025-04-03 20:46:25.938679** 
webDav update history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache 
 
**2025-04-03 20:46:29.028906** 
webDav download and patch history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp 
 
**2025-04-03 20:46:30.548674** 
webDav update history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache 
 
**2025-04-03 20:46:33.366679** 
webDav download and patch history failed DioException [unknown]: null
Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp 
 
**2025-04-03 20:52:16.043233** 
webDav download and patch history failed DioException [bad response]: null
Error: Not Found 
 
**2025-04-04 10:39:42.500755** 
webDav download and patch history failed FileSystemException: Cannot rename file to 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive', path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hivec' (OS Error: 系统无法将文件移到不同的磁盘驱动器。
, errno = 17) 
 
**2025-04-04 10:40:20.542008** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 10:45:38.616809** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 10:46:22.574124** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:05:35.427392** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:06:56.828357** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:07:10.541165** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:08:14.491645** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:29:02.777267** 
Player intent error: tcp: Failed to resolve hostname d0bkjykgze.senhewenhua.com: The name does not resolve for the supplied parameters https://d0bkjykgze.senhewenhua.com:8080/5paw55+z57SAIOesrDPlraMg56ysMTLpm4YubXA0.mp4?verify=1743737326-rVJgZFJ6k7TZvikKNY9sOSPBqS%2FlhNMErJ0YGuRLauY%3D 
 
**2025-04-04 11:58:34.610976** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:58:54.381441** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 11:59:48.880305** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 12:01:44.688408** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 12:02:09.231826** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 12:06:10.365768** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 12:06:21.121894** 
webDav download and patch history failed FileSystemException: File closed, path = 'C:\Users\Administrator\AppData\Roaming\com.example\kazumi/hive\histories.hive' 
 
**2025-04-04 17:27:43.765856** 
webDav update history failed DioException [unknown]: null
Error: HttpException: Content size exceeds specified contentLength. 143472 bytes written while expected 141120. []

提交前确认

  • [x] issue 列表中,没有我发现的这个 Bug
  • [x] 我正在使用最新版本的 Kazumi

qxiaoguiq195 avatar Apr 04 '25 11:04 qxiaoguiq195

Image

Image

qxiaoguiq195 avatar Apr 04 '25 11:04 qxiaoguiq195

Image

qxiaoguiq195 avatar Apr 04 '25 11:04 qxiaoguiq195

我注意到最近的错误日志发生在 2025-04-04 17:27:43.765856 你的尝试发生在这个时间点之后吗

Predidit avatar Apr 04 '25 11:04 Predidit

我注意到最近的错误日志发生在 2025-04-04 17:27:43.765856 你的尝试发生在这个时间点之后吗

好像是的没注意时间

qxiaoguiq195 avatar Apr 04 '25 13:04 qxiaoguiq195

我注意到最近的错误日志发生在 2025-04-04 17:27:43.765856 你的尝试发生在这个时间点之后吗

最新的错误日志

新建文本文档.txt

Image

qxiaoguiq195 avatar Apr 04 '25 13:04 qxiaoguiq195

我注意到最近的错误日志发生在 2025-04-04 17:27:43.765856 你的尝试发生在这个时间点之后吗

还是一样同步错误 手动上传 手动下载

qxiaoguiq195 avatar Apr 04 '25 13:04 qxiaoguiq195

这看上去可能是缓存大小达到了 DIO 允许的上限,你尝试过删除一些记录吗

Predidit avatar Apr 04 '25 13:04 Predidit

这看上去可能是缓存大小达到了 DIO 允许的上限,你尝试过删除一些记录吗

你是说缓存? 没有试过 补充手机上清过缓存但是上传下载还是一样 我在试试

qxiaoguiq195 avatar Apr 05 '25 02:04 qxiaoguiq195

这看上去可能是缓存大小达到了 DIO 允许的上限,你尝试过删除一些记录吗

哦对了我安装完电脑msix程序用系统自带的移动功能把它移动到d盘了这个会有影响吗

qxiaoguiq195 avatar Apr 05 '25 02:04 qxiaoguiq195

这看上去可能是缓存大小达到了 DIO 允许的上限,你尝试过删除一些记录吗

还有一个小问题 就是zip版的Kazumi【1.6.4】使用卡巴斯基杀毒并没有报毒 msix版的Kazumi【1.6.4】会报毒不知道啥情况 而【1.6.1】【1.6.2】我就测试了这三个版本 【1.6.3】并不会报毒 就是好奇一问 Image Image Image

qxiaoguiq195 avatar Apr 05 '25 03:04 qxiaoguiq195

这里的缓存指的是历史记录,大概就是说可能是你的历史记录太长了导致同步出问题。

ZIP版本所有文件都是经过签名的,不可能被误报。MSIX版本只签名了安装包本体,没有签名内部文件,正常来说只要本体有签名,内部文件就会被豁免,我不知道为什么仍然发生了误报。

我会尝试在下个版本签名 MSIX 安装包内的所有文件。

Predidit avatar Apr 05 '25 03:04 Predidit

Kazumi 使用跨平台框架 flutter 开发,这非常容易出现误报,因为安全厂商在提取使用这类框架开发的恶意软件时,可能错误地将框架部分的特征作为病毒特征。这会误伤大量使用该框架的程序。

这也是我们为什么要进行代码签名。

Predidit avatar Apr 05 '25 03:04 Predidit

这里的缓存指的是历史记录,大概就是说可能是你的历史记录太长了导致同步出问题。

ZIP版本所有文件都是经过签名的,不可能被误报。MSIX版本只签名了安装包本体,没有签名内部文件,正常来说只要本体有签名,内部文件就会被豁免,我不知道为什么仍然发生了误报。

我会尝试在下个版本签名 MSIX 安装包内的所有文件。

有删除过全部历史文件在重上传过 就是测试是否同步成功【msix版1.6.4】结果是依然同步失败

但是我现在下载了zip版的kazumi【1.6.4】测试同步结果是美好的 同步成功了 并不清楚是咋回事

qxiaoguiq195 avatar Apr 05 '25 03:04 qxiaoguiq195

Kazumi 使用跨平台框架 flutter 开发,这非常容易出现误报,因为安全厂商在提取使用这类框架开发的恶意软件时,可能错误地将框架部分的特征作为病毒特征。这会误伤大量使用该框架的程序。

这也是我们为什么要进行代码签名。

好的感谢大佬解惑(=・ω・=)

qxiaoguiq195 avatar Apr 05 '25 03:04 qxiaoguiq195

Kazumi 使用跨平台框架 flutter 开发,这非常容易出现误报,因为安全厂商在提取使用这类框架开发的恶意软件时,可能错误地将框架部分的特征作为病毒特征。这会误伤大量使用该框架的程序。

这也是我们为什么要进行代码签名。

2025-04-05 11:11:30.435317 webDav backup directory create failed

2025-04-05 11:11:55.642994 webDav update history failed DioException [unknown]: null Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache

2025-04-05 11:12:21.835976 webDav download and patch history failed DioException [unknown]: null Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp

2025-04-05 11:12:26.303881 webDav update history failed DioException [unknown]: null Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache

2025-04-05 11:12:29.815964 webDav download and patch history failed DioException [unknown]: null Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp

2025-04-05 11:12:31.314079 webDav update history failed DioException [unknown]: null Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp.cache

2025-04-05 11:12:33.164168 webDav download and patch history failed DioException [unknown]: null Error: Invalid argument(s): No host specified in URI /kazumiSync/histories.tmp

这是下载完最新的错误日志

qxiaoguiq195 avatar Apr 05 '25 03:04 qxiaoguiq195

Kazumi 使用跨平台框架 flutter 开发,这非常容易出现误报,因为安全厂商在提取使用这类框架开发的恶意软件时,可能错误地将框架部分的特征作为病毒特征。这会误伤大量使用该框架的程序。

这也是我们为什么要进行代码签名。

Image

Image

qxiaoguiq195 avatar Apr 05 '25 03:04 qxiaoguiq195