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

本贴最后更新于 356 天前,其中的信息可能已经时移俗易

屏幕截图 20241231000133.png

同时移动端报错:如下

b14815d9b2cb6e1a0de5e42206ff1c5.jpg

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

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

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

@88250

  • 思源笔记

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

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

    28443 引用 • 119762 回帖
  • Q&A

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

    11152 引用 • 50647 回帖 • 52 关注
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

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

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

请输入回帖内容 ...

推荐标签 标签

  • Access
    1 引用 • 3 回帖 • 13 关注
  • jsoup

    jsoup 是一款 Java 的 HTML 解析器,可直接解析某个 URL 地址、HTML 文本内容。它提供了一套非常省力的 API,可通过 DOM,CSS 以及类似于 jQuery 的操作方法来取出和操作数据。

    6 引用 • 1 回帖 • 517 关注
  • Lute

    Lute 是一款结构化的 Markdown 引擎,支持 Go 和 JavaScript。

    29 引用 • 202 回帖 • 54 关注
  • uTools

    uTools 是一个极简、插件化、跨平台的现代桌面软件。通过自由选配丰富的插件,打造你得心应手的工具集合。

    9 引用 • 75 回帖 • 1 关注
  • OpenStack

    OpenStack 是一个云操作系统,通过数据中心可控制大型的计算、存储、网络等资源池。所有的管理通过前端界面管理员就可以完成,同样也可以通过 Web 接口让最终用户部署资源。

    10 引用 • 9 关注
  • Elasticsearch

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

    117 引用 • 99 回帖 • 191 关注
  • 单点登录

    单点登录(Single Sign On)是目前比较流行的企业业务整合的解决方案之一。SSO 的定义是在多个应用系统中,用户只需要登录一次就可以访问所有相互信任的应用系统。

    9 引用 • 25 回帖 • 9 关注
  • Sphinx

    Sphinx 是一个基于 SQL 的全文检索引擎,可以结合 MySQL、PostgreSQL 做全文搜索,它可以提供比数据库本身更专业的搜索功能,使得应用程序更容易实现专业化的全文检索。

    1 引用 • 259 关注
  • Excel
    32 引用 • 29 回帖 • 1 关注
  • NGINX

    NGINX 是一个高性能的 HTTP 和反向代理服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 NGINX 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的,第一个公开版本 0.1.0 发布于 2004 年 10 月 4 日。

    316 引用 • 547 回帖 • 4 关注
  • Electron

    Electron 基于 Chromium 和 Node.js,让你可以使用 HTML、CSS 和 JavaScript 构建应用。它是一个由 GitHub 及众多贡献者组成的活跃社区共同维护的开源项目,兼容 Mac、Windows 和 Linux,它构建的应用可在这三个操作系统上面运行。

    16 引用 • 143 回帖 • 6 关注
  • 域名

    域名(Domain Name),简称域名、网域,是由一串用点分隔的名字组成的 Internet 上某一台计算机或计算机组的名称,用于在数据传输时标识计算机的电子方位(有时也指地理位置)。

    43 引用 • 208 回帖
  • 禅道

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

    11 引用 • 15 回帖 • 1 关注
  • 知乎

    知乎是网络问答社区,连接各行各业的用户。用户分享着彼此的知识、经验和见解,为中文互联网源源不断地提供多种多样的信息。

    10 引用 • 66 回帖
  • Vue.js

    Vue.js(读音 /vju ː/,类似于 view)是一个构建数据驱动的 Web 界面库。Vue.js 的目标是通过尽可能简单的 API 实现响应的数据绑定和组合的视图组件。

    269 引用 • 666 回帖 • 1 关注
  • Solo

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

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

    1449 引用 • 10092 回帖 • 489 关注
  • 宕机

    宕机,多指一些网站、游戏、网络应用等服务器一种区别于正常运行的状态,也叫“Down 机”、“当机”或“死机”。宕机状态不仅仅是指服务器“挂掉了”、“死机了”状态,也包括服务器假死、停用、关闭等一些原因而导致出现的不能够正常运行的状态。

    13 引用 • 82 回帖 • 75 关注
  • LeetCode

    LeetCode(力扣)是一个全球极客挚爱的高质量技术成长平台,想要学习和提升专业能力从这里开始,充足技术干货等你来啃,轻松拿下 Dream Offer!

    209 引用 • 72 回帖 • 1 关注
  • Kotlin

    Kotlin 是一种在 Java 虚拟机上运行的静态类型编程语言,由 JetBrains 设计开发并开源。Kotlin 可以编译成 Java 字节码,也可以编译成 JavaScript,方便在没有 JVM 的设备上运行。在 Google I/O 2017 中,Google 宣布 Kotlin 成为 Android 官方开发语言。

    19 引用 • 33 回帖 • 87 关注
  • Telegram

    Telegram 是一个非盈利性、基于云端的即时消息服务。它提供了支持各大操作系统平台的开源的客户端,也提供了很多强大的 APIs 给开发者创建自己的客户端和机器人。

    5 引用 • 35 回帖
  • 千千插件

    千千块(自定义块 css 和 js)
    可以用 ai 提示词来无限创作思源笔记

    32 引用 • 69 回帖 • 1 关注
  • 京东

    京东是中国最大的自营式电商企业,2015 年第一季度在中国自营式 B2C 电商市场的占有率为 56.3%。2014 年 5 月,京东在美国纳斯达克证券交易所正式挂牌上市(股票代码:JD),是中国第一个成功赴美上市的大型综合型电商平台,与腾讯、百度等中国互联网巨头共同跻身全球前十大互联网公司排行榜。

    14 引用 • 102 回帖 • 261 关注
  • Notion

    Notion - The all-in-one workspace for your notes, tasks, wikis, and databases.

    10 引用 • 80 回帖 • 1 关注
  • 星云链

    星云链是一个开源公链,业内简单的将其称为区块链上的谷歌。其实它不仅仅是区块链搜索引擎,一个公链的所有功能,它基本都有,比如你可以用它来开发部署你的去中心化的 APP,你可以在上面编写智能合约,发送交易等等。3 分钟快速接入星云链 (NAS) 测试网

    3 引用 • 16 回帖
  • OpenShift

    红帽提供的 PaaS 云,支持多种编程语言,为开发人员提供了更为灵活的框架、存储选择。

    14 引用 • 20 回帖 • 687 关注
  • OkHttp

    OkHttp 是一款 HTTP & HTTP/2 客户端库,专为 Android 和 Java 应用打造。

    16 引用 • 6 回帖 • 99 关注
  • flomo

    flomo 是新一代 「卡片笔记」 ,专注在碎片化时代,促进你的记录,帮你积累更多知识资产。

    6 引用 • 144 回帖