同步出现了报错

之前都正常,今天下午同步突然出现如下报错,看下是什么原因呢? @88250

image.png

欢迎来到这里!

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

注册 关于
请输入回帖内容 ...
  • larryggao
    支持者 订阅者 作者

    log:

    E 2021/11/23 17:01:20 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": dial tcp: lookup siyuan2.b3logfile.com: no such host]
    E 2021/11/23 17:02:22 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": dial tcp: lookup siyuan2.b3logfile.com: no such host]
    E 2021/11/23 17:03:26 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": dial tcp: lookup siyuan2.b3logfile.com: no such host]
    E 2021/11/23 17:04:31 rsync.go:122: upload failed: kex_exchange_identification: read: Connection reset by peer
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.4dev], exit status 12
    E 2021/11/23 17:05:49 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
    E 2021/11/23 17:07:07 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
    E 2021/11/23 17:08:24 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
    E 2021/11/23 17:09:42 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
    E 2021/11/23 17:10:59 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
    E 2021/11/23 17:12:17 liandi.go:301: get cloud sync info failed: [Post "https://siyuan2.b3logfile.com/apis/siyuan/sync/getSiYuanWorkspaceSync": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
    E 2021/11/23 17:13:21 rsync.go:122: upload failed: kex_exchange_identification: read: Connection reset by peer
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.4dev], exit status 12
    I 2021/11/23 17:14:20 sync.go:92: sync by hand
    I 2021/11/23 17:14:21 sync.go:80: sync has been locked
    E 2021/11/23 17:14:25 rsync.go:122: upload failed: kex_exchange_identification: read: Connection reset by peer
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.4dev], exit status 12

  • 88250
    订阅者

    从报错上看应该是网络问题,连接云端接口的时候不通。

    1 回复
  • larryggao
    支持者 订阅者 作者

    但我上网都正常,打开其他网站也都正常。有什么办法能协助排查的呢?

  • larryggao
    支持者 订阅者 作者

    ping 了下域名,也是 ok 的?有可能是服务器端的问题吗?

    image.png

    1 回复
  • 88250
    订阅者

    如果是办公网络的话估计要咨询公司网管,如果是其他网络的话可能是运营商中继设备上有限制。

    实在不行的话可以考虑在同步设置里切换为 HTTPS 同步方式。

    1 回复
  • larryggao
    支持者 订阅者 作者

    感谢 D 大,用了 HTTPS 成功了!!!用的是办公网络,估计是网络策略做了调整。

    另外咨询下,我看提示说 HTTPS 在实验阶段,目前使用可能会有什么风险吗?

    1 回复
  • 88250
    订阅者

    稳定性可能会有一些问题,比如同步到一半的时候网络断开可能无法保证数据完整性,这个我们还在收集使用反馈。另外,HTTPS 同步方式不是差分增量同步,性能会差一些。

请输入回帖内容 ...