I’m trying to figure out why my nodes can see each other on the LAN but won’t connect and (as a result) won’t sync. This may be a bug but I wanted to check the forums for help first in case there’s something I’ve missed. Hopefully something with my local setup is incorrect and there’s a solution to document. This problem is affecting all the nodes on my LAN.
As of three days ago (on the 19th) syncthing stopped syncing my files. I’ve tried deleting the local cache files and running syncthing manually using STTRACE=discover syncthing
. The web GUI gives the correct LAN IP addresses of the nodes I’m hoping to connect to, but the status is still listed as disconnected.
Here’s some typical output from the log
DEBUG: discover: Reconstructed URL is &url.URL{Scheme:"tcp", Opaque:"", User:(*url.Userinfo)(nil), Host:"192.168.0.2:22000", Path:"", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
[PDR6Y] 2017/09/22 10:17:12.706861 local.go:240: DEBUG: discover: Replaced address 0.0.0.0 in tcp://0.0.0.0:22000 to get tcp://192.168.0.2:22000
[PDR6Y] 2017/09/22 10:17:12.745981 local.go:175: DEBUG: discover: Received local announcement from 192.168.0.4:41282 for LIYLNLQ-DHZ6JQE-GWQA5ED-UJR6UEV-5ZVTHOR-NSRVQEX-UL2ZUGA-WR2QIAW
[PDR6Y] 2017/09/22 10:17:12.746027 local.go:238: DEBUG: discover: Reconstructed URL is &url.URL{Scheme:"tcp", Opaque:"", User:(*url.Userinfo)(nil), Host:"192.168.0.4:22000", Path:"", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
[PDR6Y] 2017/09/22 10:17:12.746034 local.go:240: DEBUG: discover: Replaced address 0.0.0.0 in tcp://0.0.0.0:22000 to get tcp://192.168.0.4:22000
[PDR6Y] 2017/09/22 10:17:17.510246 local.go:175: DEBUG: discover: Received local announcement from 192.168.0.3:46044 for PDR6Y6N-ZPVLTRL-N2KGXPW-67AFT4Z-ES667G5-T26LP6P-ETR6EYO-BULDDQ7
So even the log looks like it’s able to “hear” the other nodes. But none of the nodes can actually synchronize between each other.
FWIW:
>: uname -a [10:13:59]
Linux redacted 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64 GNU/Linux
I’m running syncthing as a user through systemd systemctl start syncthing@me.service
The arch repo updated to the current version 0.14.38 on the 19th, the same day my files stopped syncing.
If it comes to it I can force-downgrade to 0.14.37 but would like to avoid that hassle.