I have 3 machines: A. 1 Mac at home with the latest Mac OS X. B. 1 Mac at work with the latest Mac OS X. C. 1 Windows 7 machine at work.
B and C (at work) can see each other, connect, and sync as advertised.
A seems to know about B and C, and B and C seem to know about A, but A is always disconnected on B and C. B and C are always disconnected on A.
UPnP seems to be working on my home machine, because my router shows a UPnP rule to forward 22000 to A. Just in case, I added a manual rule for the same port forward and also a 21025 UDP rule. No change.
At work I have no control over the network.
I assume that is the problem and that the network here will not ever let whatever needs to come in and out.
I note that at home, A reports that it is looking for B and C both on the same IP:port, and it seems to be the right public IP for my work machines. From what I recall about IPs and ports, though, that cannot work, right? Coming into a network with 2 machines both running syncthing from outside the network must require different ports for the two machines or the packets can’t get routed, no?
So I’m not surprised that my home computer can’t connect to the work ones. But I have no idea why my work computers cannot connect to the home one.
I know they use different connection methods, but Bittorrent Sync worked between all 3 machines (except 2.0 is a piece of garbage that kept crashing and leaving files out of sync and unsyncable requiring manual correction, hence my investigation of syncthing).
Anyway, does anyone have a link to the basics of what I can do to troubleshoot?
This is what STTRACE=beacon ./syncthing produces:
[monitor] 2015/06/25 11:39:41.782182 monitor.go:94: INFO: Starting syncthing [SMJ3B] 2015/06/25 11:39:42.248113 main.go:473: INFO: syncthing v0.11.10 (go1.4.2 darwin-amd64 default) unknown-user@syncthing-builder 2015-06-21 09:45:54 UTC [SMJ3B] 2015/06/25 11:39:42.248317 main.go:474: INFO: My ID: SMJ3BZF-Y5BK5GC-CB3GOTZ-TL2ELTT-PMJWICR-6QP6REW-NWWWGL2-YMU2DQX [SMJ3B] 2015/06/25 11:39:42.261954 main.go:755: INFO: Database block cache capacity 32768 KiB [SMJ3B] 2015/06/25 11:39:42.300925 main.go:631: OK: Ready to synchronize IC_notes (read-write) [SMJ3B] 2015/06/25 11:39:42.301072 main.go:810: INFO: Starting web GUI on http://127.0.0.1:8384/ [SMJ3B] 2015/06/25 11:39:42.323165 rwfolder.go:295: INFO: Completed initial scan (rw) of folder IC_notes [SMJ3B] 2015/06/25 11:39:42.728699 main.go:886: INFO: Starting local discovery announcements [SMJ3B] 2015/06/25 11:39:42.729058 broadcast.go:74: DEBUG: broadcastWriter@0xc208128100 starting [SMJ3B] 2015/06/25 11:39:42.729224 broadcast.go:163: DEBUG: broadcastReader@0xc2081280e0 starting [SMJ3B] 2015/06/25 11:39:42.730329 main.go:891: INFO: Starting global discovery announcements [SMJ3B] 2015/06/25 11:39:42.730648 broadcast.go:114: DEBUG: addresses: [192.168.191.255] [SMJ3B] 2015/06/25 11:39:42.730819 broadcast.go:140: DEBUG: sent 56 bytes to 192.168.191.255:21025 [SMJ3B] 2015/06/25 11:39:42.731126 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%lo0]:21026 [SMJ3B] 2015/06/25 11:39:42.731351 multicast.go:61: DEBUG: write udp6: can’t assign requested address on write to {ff32::5222 21026 en0} [SMJ3B] 2015/06/25 11:39:42.731541 multicast.go:61: DEBUG: write udp6: can’t assign requested address on write to {ff32::5222 21026 bridge0} [SMJ3B] 2015/06/25 11:39:42.731734 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%en2]:21026 [SMJ3B] 2015/06/25 11:39:42.731919 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%utun1]:21026 [SMJ3B] 2015/06/25 11:39:42.731965 broadcast.go:192: DEBUG: recv 56 bytes from 192.168.191.105:63292 [SMJ3B] 2015/06/25 11:39:42.732251 main.go:677: INFO: Device F2VAP6H-ELGRGNV-I7VG7N5-QH574CF-47F4F3J-PZU2LHL-NZTYMRQ-NE5YVAB is “HHLWS100” at [dynamic] [SMJ3B] 2015/06/25 11:39:42.732408 main.go:677: INFO: Device SMJ3BZF-Y5BK5GC-CB3GOTZ-TL2ELTT-PMJWICR-6QP6REW-NWWWGL2-YMU2DQX is “Trevors-MBA.local” at [dynamic] [SMJ3B] 2015/06/25 11:39:42.732570 main.go:677: INFO: Device ZU7XBOE-XON2VZ2-YXH4HJN-NDISWOZ-L4TWTYW-FJCVSBQ-V7KYQQG-FMA7QQU is “Mac Mini” at [dynamic] [SMJ3B] 2015/06/25 11:39:42.732780 usage_report.go:154: INFO: Starting usage reporting [SMJ3B] 2015/06/25 11:39:42.744091 gui.go:219: INFO: API listening on 127.0.0.1:8384 [SMJ3B] 2015/06/25 11:40:04.272512 broadcast.go:192: DEBUG: recv 56 bytes from 192.168.191.104:60832 [SMJ3B] 2015/06/25 11:40:04.273310 broadcast.go:114: DEBUG: addresses: [192.168.191.255] [SMJ3B] 2015/06/25 11:40:04.273433 broadcast.go:140: DEBUG: sent 56 bytes to 192.168.191.255:21025 [SMJ3B] 2015/06/25 11:40:04.273470 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%lo0]:21026 [SMJ3B] 2015/06/25 11:40:04.273527 broadcast.go:192: DEBUG: recv 56 bytes from 192.168.191.105:63292 [SMJ3B] 2015/06/25 11:40:04.273740 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%en2]:21026 [SMJ3B] 2015/06/25 11:40:04.274215 multicast.go:61: DEBUG: write udp6: can’t assign requested address on write to {ff32::5222 21026 en0} [SMJ3B] 2015/06/25 11:40:04.274252 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%utun1]:21026 [SMJ3B] 2015/06/25 11:40:04.274323 multicast.go:61: DEBUG: write udp6: can’t assign requested address on write to {ff32::5222 21026 bridge0} [SMJ3B] 2015/06/25 11:40:10.382359 connections.go:176: INFO: Established secure connection to F2VAP6H-ELGRGNV-I7VG7N5-QH574CF-47F4F3J-PZU2LHL-NZTYMRQ-NE5YVAB at 192.168.191.105:22000-192.168.191.104:60305 [SMJ3B] 2015/06/25 11:40:10.392766 model.go:626: INFO: Device F2VAP6H-ELGRGNV-I7VG7N5-QH574CF-47F4F3J-PZU2LHL-NZTYMRQ-NE5YVAB client is “syncthing v0.11.10” [SMJ3B] 2015/06/25 11:40:10.392860 model.go:631: INFO: Device F2VAP6H-ELGRGNV-I7VG7N5-QH574CF-47F4F3J-PZU2LHL-NZTYMRQ-NE5YVAB name is “HHLWS100” [SMJ3B] 2015/06/25 11:40:12.731481 broadcast.go:114: DEBUG: addresses: [192.168.191.255] [SMJ3B] 2015/06/25 11:40:12.731716 multicast.go:61: DEBUG: write udp6: can’t assign requested address on write to {ff32::5222 21026 en0} [SMJ3B] 2015/06/25 11:40:12.731753 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%lo0]:21026 [SMJ3B] 2015/06/25 11:40:12.731778 broadcast.go:140: DEBUG: sent 56 bytes to 192.168.191.255:21025 [SMJ3B] 2015/06/25 11:40:12.731849 multicast.go:61: DEBUG: write udp6: can’t assign requested address on write to {ff32::5222 21026 bridge0} [SMJ3B] 2015/06/25 11:40:12.731872 broadcast.go:192: DEBUG: recv 56 bytes from 192.168.191.105:63292 [SMJ3B] 2015/06/25 11:40:12.731903 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%utun1]:21026 [SMJ3B] 2015/06/25 11:40:12.731977 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%en2]:21026 [SMJ3B] 2015/06/25 11:40:34.272615 broadcast.go:192: DEBUG: recv 56 bytes from 192.168.191.104:60832 [SMJ3B] 2015/06/25 11:40:42.734094 broadcast.go:114: DEBUG: addresses: [192.168.191.255] [SMJ3B] 2015/06/25 11:40:42.734331 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%en2]:21026 [SMJ3B] 2015/06/25 11:40:42.734385 broadcast.go:192: DEBUG: recv 56 bytes from 192.168.191.105:63292 [SMJ3B] 2015/06/25 11:40:42.734593 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%utun1]:21026 [SMJ3B] 2015/06/25 11:40:42.734691 multicast.go:63: DEBUG: sent 56 bytes to [ff32::5222%lo0]:21026
Then the last 10 or so lines reproduce forever.
Where do I start?
Or am I screwed if I have no control over my work network?
EDIT: global discovery is on on all 3 machines. B and C read 1/2 for global discovery.