v3.1.17 锁定云端同步目录失败,糟心的多端同步总出问题

屏幕截图 20241231000133.png

同时移动端报错:如下

b14815d9b2cb6e1a0de5e42206ff1c5.jpg

本来以为找到一款完美的同步笔记,结果这个笔记同步使用体验如此糟心。

最近使用几乎三天两头报错,时好时坏。

S3 存储是自己利用家里 nas 搭建的 minio。

@88250

  • 思源笔记

    思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。

    融合块、大纲和双向链接,重构你的思维。

    24691 引用 • 101347 回帖
  • Q&A

    提问之前请先看《提问的智慧》,好的问题比好的答案更有价值。

    9344 引用 • 42562 回帖 • 114 关注
1 操作
supersure 在 2024-12-31 00:14:32 更新了该帖

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...
  • supersure

    E 2024/12/30 22:44:16 sync.go:1560: download cloud latest failed: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FB96DC4E43CE, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    E 2024/12/30 22:44:16 repository.go:1328: download cloud latest failed: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FB96DC4E43CE, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    I 2024/12/30 22:44:16 repo.go:661: walk data [files=416] cost [37.087ms]
    I 2024/12/30 22:44:16 ref.go:130: got local full latest [files=416, size=74 kB], cost [504.5µs]
    I 2024/12/30 22:44:16 repository.go:1314: boot index repo elapsed [9.52s]
    E 2024/12/30 22:44:16 repository.go:1359: sync data repo failed: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FB96DC4E43CE, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    E 2024/12/30 22:44:16 sync.go:605: sync failed caused by network: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FB96DC4E43CE, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    I 2024/12/30 22:44:16 conf.go:852: database size [1.24 MB], tree/block count [15/255]
    I 2024/12/30 22:44:16 working.go:193: kernel booted
    I 2024/12/30 22:44:16 box.go:77: auto stat [trees=15, blocks=255, dataSize=48.15 MB, assetsSize=4.27 MB]
    I 2024/12/30 22:44:16 disk.go:33: disk usage [total=294.98 GB, used=172.2 GB, free=122.78 GB]
    I 2024/12/30 22:44:16 font.go:58: loaded system fonts [213] in [319ms]
    I 2024/12/30 22:49:21 sync.go:146: sync before boot
    E 2024/12/30 22:49:24 sync.go:1560: download cloud latest failed: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FBDE69133432, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    E 2024/12/30 22:49:24 repository.go:1328: download cloud latest failed: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FBDE69133432, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate

  • S3 存储是自己利用家里 nas 搭建的 minio。

    自己折腾的话没这么简单,踩坑是必然的。

    导出完整的日志看看吧

    1 回复
  • supersure

    I 2024/12/30 22:49:24 repo.go:661: walk data [files=416] cost [9.5749ms]
    I 2024/12/30 22:49:24 ref.go:130: got local full latest [files=416, size=74 kB], cost [593.8µs]
    I 2024/12/30 22:49:24 repository.go:1314: boot index repo elapsed [2.17s]
    E 2024/12/30 22:49:24 repository.go:1359: sync data repo failed: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FBDE69133432, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    E 2024/12/30 22:49:24 sync.go:605: sync failed caused by network: operation error S3: GetObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FBDE69133432, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownRead: Resource requested is unreadable, please reduce your request rate
    I 2024/12/30 22:57:53 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 22:57:53 repo.go:661: walk data [files=416] cost [9.7501ms]
    I 2024/12/30 22:57:53 ref.go:130: got local full latest [files=416, size=74 kB], cost [589.3µs]
    E 2024/12/30 22:58:54 sync_lock.go:161: upload lock sync failed: operation error S3: PutObject, https response error StatusCode: 0, RequestID: , HostID: , canceled, context deadline exceeded
    E 2024/12/30 22:58:54 repository.go:1458: sync data repo failed: lock cloud repo failed
    I 2024/12/30 22:59:08 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 22:59:08 repo.go:661: walk data [files=416] cost [10.2783ms]
    I 2024/12/30 22:59:08 ref.go:130: got local full latest [files=416, size=74 kB], cost [541.5µs]
    E 2024/12/30 22:59:13 sync_lock.go:106: unmarshal lock sync failed: unexpected end of JSON input
    E 2024/12/30 22:59:17 sync_lock.go:109: remove unmarshalled lock sync failed: operation error S3: DeleteObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FC68AD3178F1, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownWrite: Resource requested is unwritable, please reduce your request rate
    E 2024/12/30 22:59:17 repository.go:1458: sync data repo failed: cloud service unavailable
    I 2024/12/30 23:00:57 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 23:00:57 repo.go:661: walk data [files=416] cost [10.8928ms]
    I 2024/12/30 23:00:57 ref.go:130: got local full latest [files=416, size=74 kB], cost [533.1µs]
    E 2024/12/30 23:01:10 sync_lock.go:106: unmarshal lock sync failed: unexpected end of JSON input
    E 2024/12/30 23:01:14 sync_lock.go:109: remove unmarshalled lock sync failed: operation error S3: DeleteObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FC83F553D1D3, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownWrite: Resource requested is unwritable, please reduce your request rate
    E 2024/12/30 23:01:14 repository.go:1458: sync data repo failed: cloud service unavailable
    I 2024/12/30 23:01:18 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 23:01:18 repo.go:661: walk data [files=416] cost [10.2331ms]
    I 2024/12/30 23:01:18 ref.go:130: got local full latest [files=416, size=74 kB], cost [595.2µs]
    E 2024/12/30 23:01:21 sync_lock.go:106: unmarshal lock sync failed: unexpected end of JSON input
    E 2024/12/30 23:01:25 sync_lock.go:109: remove unmarshalled lock sync failed: operation error S3: DeleteObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503,

  • supersure

    我怀疑就是多端同步有 bug,之前我电脑自己每天写了,然后每天同步都没问题。每次白天用一用手机就坏事。今天下午是打开了手机思源但是网特别差,感觉像没同步完。晚上回家开电脑就完蛋了

    1 回复
  • supersure

    I 2024/12/30 23:13:56 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 23:13:56 repo.go:661: walk data [files=417] cost [9.5624ms]
    I 2024/12/30 23:13:56 ref.go:130: got local full latest [files=416, size=74 kB], cost [573.6µs]
    I 2024/12/30 23:13:57 ref.go:93: updated local latest to [device=d866095e-ff97-4614-a728-43e5e8271c19/windows, id=05ec6bbc9a50e3a3e03bb0df8a74b11de7efcc0a, files=417, size=47.96 MB, created=2024-12-30 23:13:56], full latest [size=75 kB], cost [155.4975ms]
    E 2024/12/30 23:14:12 sync_lock.go:106: unmarshal lock sync failed: unexpected end of JSON input
    E 2024/12/30 23:14:15 sync_lock.go:109: remove unmarshalled lock sync failed: operation error S3: DeleteObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FD39CACDC6C7, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownWrite: Resource requested is unwritable, please reduce your request rate
    E 2024/12/30 23:14:15 repository.go:1458: sync data repo failed: cloud service unavailable
    I 2024/12/30 23:19:13 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 23:19:13 repo.go:661: walk data [files=418] cost [9.3366ms]
    I 2024/12/30 23:19:13 ref.go:130: got local full latest [files=417, size=75 kB], cost [519.8µs]
    I 2024/12/30 23:19:13 ref.go:93: updated local latest to [device=d866095e-ff97-4614-a728-43e5e8271c19/windows, id=5735a64b4a76276beedaef16614dad42cf6b4f3b, files=418, size=47.96 MB, created=2024-12-30 23:19:13], full latest [size=75 kB], cost [4.1552ms]
    E 2024/12/30 23:19:16 sync_lock.go:106: unmarshal lock sync failed: unexpected end of JSON input
    E 2024/12/30 23:19:18 sync_lock.go:109: remove unmarshalled lock sync failed: operation error S3: DeleteObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FD8030C2C890, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownWrite: Resource requested is unwritable, please reduce your request rate
    E 2024/12/30 23:19:18 repository.go:1458: sync data repo failed: cloud service unavailable
    I 2024/12/30 23:20:09 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 23:20:09 repo.go:661: walk data [files=418] cost [10.4258ms]
    I 2024/12/30 23:20:09 ref.go:130: got local full latest [files=418, size=75 kB], cost [601.3µs]
    E 2024/12/30 23:20:42 sync_lock.go:161: upload lock sync failed: operation error S3: PutObject, https response error StatusCode: 400, RequestID: 1815FD8C2F294F2C, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error IncompleteBody: You did not provide the number of bytes specified by the Content-Length HTTP header.
    E 2024/12/30 23:20:42 repository.go:1458: sync data repo failed: lock cloud repo failed

  • supersure

    I 2024/12/30 23:25:17 repository.go:1430: syncing data repo [device=d866095e-ff97-4614-a728-43e5e8271c19, kernel=o771g64, provider=2, mode=a/true]
    I 2024/12/30 23:25:17 repo.go:661: walk data [files=418] cost [16.4198ms]
    I 2024/12/30 23:25:17 ref.go:130: got local full latest [files=418, size=75 kB], cost [533.9µs]
    E 2024/12/30 23:25:19 sync_lock.go:106: unmarshal lock sync failed: unexpected end of JSON input
    E 2024/12/30 23:25:21 sync_lock.go:109: remove unmarshalled lock sync failed: operation error S3: DeleteObject, exceeded maximum number of attempts, 3, https response error StatusCode: 503, RequestID: 1815FDD4B6C6F6A6, HostID: 75b49c41614a89e75771a18f985c1c846c74839c56bcc199c47749ded91ebd09, api error SlowDownWrite: Resource requested is unwritable, please reduce your request rate
    E 2024/12/30 23:25:21 repository.go:1458: sync data repo failed: cloud service unavailable
    I 2024/12/30 23:50:42 index.go:220: rebuilt database for notebook [20210808180117-czj9bvb] in [0.05s], tree [count=70, size=1.46 MB]
    I 2024/12/30 23:50:42 index.go:290: resolved refs [37] in [66ms]

  • 同步功能已经没有什么明显的 BUG 了,自建的 S3 出问题要么是配置哪里不对,要么是网络哪里不对,这种东西就是莫名其妙的。

  • 88250
    api error SlowDownWrite: Resource requested is unwritable, please reduce your request rate

    这个不是思源的问题,是 MinIO 吞吐不够抛出的异常,看一下是不是还有其他存取任务在执行?

    参考:https://github.com/minio/minio/discussions/16341

  • ljm via Android

    应该不是个例,我用的阿里云,手机端同步,这几天也出现同样的问题。

    1 回复
  • 阿里云可能是配置问题,参考 更新到 v3.1.17 后 S3 同步错误

  • 好像也有可能是 minio 存满了

请输入回帖内容 ...

推荐标签 标签

  • 服务

    提供一个服务绝不仅仅是简单的把硬件和软件累加在一起,它包括了服务的可靠性、服务的标准化、以及对服务的监控、维护、技术支持等。

    41 引用 • 24 回帖
  • CSS

    CSS(Cascading Style Sheet)“层叠样式表”是用于控制网页样式并允许将样式信息与网页内容分离的一种标记性语言。

    198 引用 • 541 回帖
  • 链书

    链书(Chainbook)是 B3log 开源社区提供的区块链纸质书交易平台,通过 B3T 实现共享激励与价值链。可将你的闲置书籍上架到链书,我们共同构建这个全新的交易平台,让闲置书籍继续发挥它的价值。

    链书社

    链书目前已经下线,也许以后还有计划重制上线。

    14 引用 • 257 回帖 • 3 关注
  • Laravel

    Laravel 是一套简洁、优雅的 PHP Web 开发框架。它采用 MVC 设计,是一款崇尚开发效率的全栈框架。

    20 引用 • 23 回帖 • 736 关注
  • 微服务

    微服务架构是一种架构模式,它提倡将单一应用划分成一组小的服务。服务之间互相协调,互相配合,为用户提供最终价值。每个服务运行在独立的进程中。服务于服务之间才用轻量级的通信机制互相沟通。每个服务都围绕着具体业务构建,能够被独立的部署。

    96 引用 • 155 回帖 • 3 关注
  • 外包

    有空闲时间是接外包好呢还是学习好呢?

    26 引用 • 233 回帖
  • Visio
    1 引用 • 2 回帖 • 2 关注
  • webpack

    webpack 是一个用于前端开发的模块加载器和打包工具,它能把各种资源,例如 JS、CSS(less/sass)、图片等都作为模块来使用和处理。

    41 引用 • 130 回帖 • 253 关注
  • 禅道

    禅道是一款国产的开源项目管理软件,她的核心管理思想基于敏捷方法 scrum,内置了产品管理和项目管理,同时又根据国内研发现状补充了测试管理、计划管理、发布管理、文档管理、事务管理等功能,在一个软件中就可以将软件研发中的需求、任务、bug、用例、计划、发布等要素有序的跟踪管理起来,完整地覆盖了项目管理的核心流程。

    6 引用 • 15 回帖 • 44 关注
  • 博客

    记录并分享人生的经历。

    273 引用 • 2388 回帖
  • 创业

    你比 99% 的人都优秀么?

    82 引用 • 1395 回帖 • 2 关注
  • Webswing

    Webswing 是一个能将任何 Swing 应用通过纯 HTML5 运行在浏览器中的 Web 服务器,详细介绍请看 将 Java Swing 应用变成 Web 应用

    1 引用 • 15 回帖 • 638 关注
  • MySQL

    MySQL 是一个关系型数据库管理系统,由瑞典 MySQL AB 公司开发,目前属于 Oracle 公司。MySQL 是最流行的关系型数据库管理系统之一。

    692 引用 • 535 回帖
  • Pipe

    Pipe 是一款小而美的开源博客平台。Pipe 有着非常活跃的社区,可将文章作为帖子推送到社区,来自社区的回帖将作为博客评论进行联动(具体细节请浏览 B3log 构思 - 分布式社区网络)。

    这是一种全新的网络社区体验,让热爱记录和分享的你不再感到孤单!

    132 引用 • 1115 回帖 • 121 关注
  • OneDrive
    2 引用 • 3 关注
  • jsDelivr

    jsDelivr 是一个开源的 CDN 服务,可为 npm 包、GitHub 仓库提供免费、快速并且可靠的全球 CDN 加速服务。

    5 引用 • 31 回帖 • 93 关注
  • CongSec

    本标签主要用于分享网络空间安全专业的学习笔记

    1 引用 • 1 回帖 • 23 关注
  • Log4j

    Log4j 是 Apache 开源的一款使用广泛的 Java 日志组件。

    20 引用 • 18 回帖 • 34 关注
  • 百度

    百度(Nasdaq:BIDU)是全球最大的中文搜索引擎、最大的中文网站。2000 年 1 月由李彦宏创立于北京中关村,致力于向人们提供“简单,可依赖”的信息获取方式。“百度”二字源于中国宋朝词人辛弃疾的《青玉案·元夕》词句“众里寻他千百度”,象征着百度对中文信息检索技术的执著追求。

    63 引用 • 785 回帖 • 113 关注
  • 爬虫

    网络爬虫(Spider、Crawler),是一种按照一定的规则,自动地抓取万维网信息的程序。

    106 引用 • 275 回帖
  • wolai

    我来 wolai:不仅仅是未来的云端笔记!

    2 引用 • 14 回帖
  • Ngui

    Ngui 是一个 GUI 的排版显示引擎和跨平台的 GUI 应用程序开发框架,基于
    Node.js / OpenGL。目标是在此基础上开发 GUI 应用程序可拥有开发 WEB 应用般简单与速度同时兼顾 Native 应用程序的性能与体验。

    7 引用 • 9 回帖 • 396 关注
  • Openfire

    Openfire 是开源的、基于可拓展通讯和表示协议 (XMPP)、采用 Java 编程语言开发的实时协作服务器。Openfire 的效率很高,单台服务器可支持上万并发用户。

    6 引用 • 7 回帖 • 98 关注
  • Elasticsearch

    Elasticsearch 是一个基于 Lucene 的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于 RESTful 接口。Elasticsearch 是用 Java 开发的,并作为 Apache 许可条款下的开放源码发布,是当前流行的企业级搜索引擎。设计用于云计算中,能够达到实时搜索,稳定,可靠,快速,安装使用方便。

    117 引用 • 99 回帖 • 207 关注
  • 创造

    你创造的作品可能会帮助到很多人,如果是开源项目的话就更赞了!

    182 引用 • 1010 回帖
  • Chrome

    Chrome 又称 Google 浏览器,是一个由谷歌公司开发的网页浏览器。该浏览器是基于其他开源软件所编写,包括 WebKit,目标是提升稳定性、速度和安全性,并创造出简单且有效率的使用者界面。

    62 引用 • 289 回帖
  • App

    App(应用程序,Application 的缩写)一般指手机软件。

    91 引用 • 384 回帖