I’ve been using Synching on a handful of devices for about 2 months now after being unimpressed with BTSync. It was a bit tricky to get setup and have it stay running in the background on my Mac and Windows machines, but all worked. Then I noticed I wasn’t connecting to much of anything anymore. If I’m on the same network of another node, and I put in their hostname or IP address, then I can sync with that node, and it with me, but any otherwise I cannot.
I’ve searched these forums, and found some helpful hints, and I think it’s because my global discovery always shows as offline, but I cannot seem to figure out why that is. I’ve tested it on 3 different networks (mobile tether, home, and work) I’ve looked through the logs with
using
sttrace=net,discover /Users/rpn314/Documents/Computer/syncthing &> syncthing.log
Here’s the log. Any ideas?
[monitor] 21:20:32 INFO: Starting syncthing
[6PV2W] 21:20:32 INFO: syncthing v0.10.5 (go1.3.3 darwin-amd64 default) jenkins@build.syncthing.net 2014-11-04 04:11:54 UTC
[6PV2W] 21:20:32 INFO: My ID: 6PV2W6G-XFBLEIQ-ZIWJU3Y-CRQFNIP-XPVT3SG-W7PDTBU-RPQ75F5-N3VAQQN
[6PV2W] 21:20:32 INFO: Starting web GUI on http://127.0.0.1:8080/
[6PV2W] 21:20:33 INFO: Starting UPnP discovery...
[6PV2W] 21:20:39 INFO: UPnP discovery complete (found 3 devices).
[6PV2W] 21:20:39 INFO: Created UPnP port mapping for external port 3070 on UPnP device 'Google Fiber Network Box' (192.168.1.1).
[6PV2W] 21:20:39 INFO: Starting local discovery announcements
[6PV2W] 21:20:39 INFO: Starting global discovery announcements
[6PV2W] 21:20:39 OK: Ready to synchronize iTunes (read only; no external updates accepted)
[6PV2W] 21:20:39 OK: Ready to synchronize BYUDocs (read only; no external updates accepted)
[6PV2W] 21:20:39 OK: Ready to synchronize default (read-write)
[6PV2W] 21:20:39 INFO: Device B7LNYBK-FA7BM23-QG53HVL-KRFPXTT-VT7LMLC-X3OYK45-55PBKBD-TH66TQI is "Surface" at [dynamic]
[6PV2W] 21:20:39 INFO: Device K2QSVC6-INFPXCO-CFIUNW2-OLUBP4E-3DM37IG-CNNYGIQ-WIVEP26-J7HO5QD is "Neu-5" at [dynamic]
[6PV2W] 21:20:39 INFO: Device TYCFEKI-GY67AV3-7DMFYFD-XEZB7SI-UGQNKKN-KWPGUSC-3AG4E53-7GZA7QF is "lis-rneu.lib.byu.edu" at [dynamic]
[6PV2W] 21:20:39 INFO: Device 6PV2W6G-XFBLEIQ-ZIWJU3Y-CRQFNIP-XPVT3SG-W7PDTBU-RPQ75F5-N3VAQQN is "RobNeuMBP.home" at [dynamic]
[6PV2W] 21:20:39 INFO: Starting usage reporting
[6PV2W] 21:20:39 INFO: Completed initial scan (rw) of folder default
[6PV2W] 21:20:39 INFO: Completed initial scan (ro) of folder BYUDocs
[6PV2W] 21:20:42 INFO: Completed initial scan (ro) of folder iTunes
I can’t figure why I would have 3 gateways. (that’s this line right?)
UPnP discovery complete (found 3 devices).
I just ran it again on my work/university network (which doesn’t use UPnP, but that has not affected synching in the past, and my work machine is online and works on this network). Here’s the log.
[monitor] 08:04:56 INFO: Starting syncthing
[6PV2W] 08:04:57 INFO: syncthing v0.10.5 (go1.3.3 darwin-amd64 default) jenkins@build.syncthing.net 2014-11-04 04:11:54 UTC
[6PV2W] 08:04:57 INFO: My ID: 6PV2W6G-XFBLEIQ-ZIWJU3Y-CRQFNIP-XPVT3SG-W7PDTBU-RPQ75F5-N3VAQQN
[6PV2W] 08:04:57 INFO: Starting web GUI on http://127.0.0.1:8080/
[6PV2W] 08:04:58 INFO: Starting UPnP discovery...
[6PV2W] 08:05:04 INFO: UPnP discovery complete (found 0 devices).
[6PV2W] 08:05:04 INFO: Starting local discovery announcements
[6PV2W] 08:05:04 INFO: Local discovery over IPv6 unavailable
[6PV2W] 08:05:04 INFO: Starting global discovery announcements
[6PV2W] 08:05:04 OK: Ready to synchronize BYUDocs (read only; no external updates accepted)
[6PV2W] 08:05:04 OK: Ready to synchronize default (read-write)
[6PV2W] 08:05:04 OK: Ready to synchronize iTunes (read only; no external updates accepted)
[6PV2W] 08:05:04 INFO: Device 6PV2W6G-XFBLEIQ-ZIWJU3Y-CRQFNIP-XPVT3SG-W7PDTBU-RPQ75F5-N3VAQQN is "RobNeuMBP.home" at [dynamic]
[6PV2W] 08:05:04 INFO: Device B7LNYBK-FA7BM23-QG53HVL-KRFPXTT-VT7LMLC-X3OYK45-55PBKBD-TH66TQI is "Surface" at [dynamic]
[6PV2W] 08:05:04 INFO: Device K2QSVC6-INFPXCO-CFIUNW2-OLUBP4E-3DM37IG-CNNYGIQ-WIVEP26-J7HO5QD is "Neu-5" at [dynamic]
[6PV2W] 08:05:04 INFO: Device TYCFEKI-GY67AV3-7DMFYFD-XEZB7SI-UGQNKKN-KWPGUSC-3AG4E53-7GZA7QF is "lis-rneu.lib.byu.edu" at [dynamic]
[6PV2W] 08:05:04 INFO: Starting usage reporting
[6PV2W] 08:05:04 INFO: Completed initial scan (rw) of folder default
[6PV2W] 08:05:04 INFO: Completed initial scan (ro) of folder BYUDocs
[6PV2W] 08:05:08 INFO: Completed initial scan (ro) of folder iTunes
If I’m reading this right, it says there are no gateways now right?
It seems that the announcement never gets delivered to the announcement server.
Can you check if you can ping 194.126.249.5 and verify your firewall settings?
0% packet loss on ping reply from 194.126.249.5, so at least that part is going through. My computer’s firewall is usually off, but I’ve turned it on and allowed syncthing but it’s still showing as offline on syncthing’s webgui.
As far as I can tell, it’s something on my machine because on both of the networks I regularly use, another device has no problems connecting, but this one cannot. Could it be related to my update to Mac OS 10.10 Yosemite?
Well I have no idea what it was, but I decided that before I spent too much more time I would wipe the config files and try again, and the discover server offline issue disappeared! I had to reconfigure the nodes, but it was less time than what I had already spent troubleshooting, so it was a win imho. Thanks for the help @AudriusButkevicius!