Constant disconnects?

I have a raspberry pi connected to several computers (laptop, desktop and android). For some reason, a few days ago I noticed that things were no longer syncing. I have restarted everything, rebuilt the DB and all that but no dice. The problem seems to be due to some connecting issue. The device is disconnected, though it sometimes shows as connected, but for just a few seconds. I have let it run overnight but it didn’t help. Here are some logs:

[PD44K] 10:10:31 INFO: Device Z46CKM3-4PAJJ47-WLRHOFN-YYOVINZ-51WMZ3M-I6RKIS3-5AL7GNU-NSEDNQF folder my_folder has mismatching index ID for us (0x86C0C5D72FCE296D != 0x1D5184CD5C2E8372)
[PD44K] 10:10:33 INFO: Connection to Z46CKM3-4PAJJ47-WLRHOFN-YYOVINZ-51WMZ3M-I6RKIS3-5AL7GNU-NSEDNQF at 10.66.2.42:36084-89.153.58.35:12203/tcp-client/TLS1.2-TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 closed: writing message: write tcp 10.66.2.42:36084->89.153.58.35:12203: write: connection reset by peer
[PD44K] 10:10:52 INFO: Established secure connection to Z46CKM3-4PAJJ47-WLRHOFN-YYOVINZ-51WMZ3M-I6RKIS3-5AL7GNU-NSEDNQF at 10.66.2.42:51952-178.62.200.59:22067/relay-server/TLS1.2-TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
[PD44K] 10:10:52 INFO: Device Z46CKM3-4PAJJ47-WLRHOFN-YYOVINZ-51WMZ3M-I6RKIS3-5AL7GNU-NSEDNQF client is "syncthing v1.0.0-ds1" named "PI" at 10.66.2.42:51952-178.62.200.59:22067/relay-server/TLS1.2-TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
[PD44K] 10:10:52 INFO: Device Z46CKM3-4PAJJ47-WLRHOFN-YYOVINZ-51WMZ3M-I6RKIS3-5AL7GNU-NSEDNQF folder my_folder has mismatching index ID for us (0x86C0C5D72FCE296D != 0x1D5184CD5C2E8372)
[PD44K] 10:10:54 INFO: Connection to Z46CKM3-4PAJJ47-WLRHOFN-YYOVINZ-51WMZ3M-I6RKIS3-5AL7GNU-NSEDNQF at 10.66.2.42:51952-178.62.200.59:22067/relay-server/TLS1.2-TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 closed: writing message: write tcp 10.66.2.42:51952->178.62.200.59:22067: write: connection reset by peer

Any idea what could be happening?

From the very brief log excerpt you might be affected by a bug regarding index IDs in v1.11.0-rc.2, which was fixed in rc.3 - though you shouldn’t be on rc.2 when rc.3 is out for as long as it is (now even the stable release). Apart from that there’s also devices on very old versions (“v1.0.0-ds1”) in your network, that might also be the problem. For more detailed help please provide full logs and what Syncthing versions you are running.

Thank you for the reply!

Desktop: syncthing v1.10.0 “Fermium Flea” (go1.15.2 linux-amd64) builduser@archlinux 2020-10-07 16:15:16 UTC [noupgrade]

PI: syncthing v1.0.0-ds1 “Erbium Earthworm” (go1.11.4 linux-arm) debian@debian 2019-01-05 20:17:23 UTC [noupgrade]

Indeed, syncthing version on the PI is extremely old, no idea why. That seems to be the version available in the repos? I just added syncthing’s repos and updated to the latest stable version… Let’s see if this fixes the issues.

@imsodin, updating did fix the disconnection issue. However, syncing is now stuck at 0% and has been for more than half an hour. I already restarted both ends to no help.

Any suggestions?

Please post screenshots and logs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.