I followed through the getting starting guide , installed syncthings on two nodes (my main laptop and my main desktop), added each other’s node, and share a repo, but both say permanently “Announce Server Offline”.
First run:
$ [N2QHE] 20:21:11 INFO: syncthing v0.9.5 (go1.3.1 linux-amd64 default) wimpr1m@wimpr1m 2014-08-20 16:14:32 UTC
[N2QHE] 20:21:11 INFO: My ID: N2QHER4-JP534JE-DPJYQ6L-6OTKQ5T-XJTYV3N-L3TSRNA-EHNZYJ6-66SIVQD
[N2QHE] 20:21:11 INFO: Waiting for parent to exit...
[N2QHE] 20:21:11 INFO: Continuing
[N2QHE] 20:21:11 INFO: Starting web GUI on http://127.0.0.1:8080/
[N2QHE] 20:21:11 INFO: Performing initial repository scan
[N2QHE] 20:21:14 INFO: No UPnP gateway detected
[N2QHE] 20:21:14 INFO: Sending local discovery announcements
[N2QHE] 20:21:14 INFO: Sending global discovery announcements
[N2QHE] 20:21:14 OK: Ready to synchronize default (read-write)
[N2QHE] 20:21:14 INFO: Node N2QHER4-JP534JE-DPJYQ6L-6OTKQ5T-XJTYV3N-L3TSRNA-EHNZYJ6-66SIVQD is "athena.barrera.io" at [dynamic]
[N2QHE] 20:21:14 INFO: Starting usage reporting
[N2QHE] 20:22:40 INFO: Restarting
[N2QHE] 20:22:40 OK: Exiting
After having restarted with both nodes having added each other:
STTRACE=net syncthing
[N2QHE] 2014/08/27 20:35:55.651078 main.go:269: INFO: syncthing v0.9.5 (go1.3.1 linux-amd64 default) wimpr1m@wimpr1m 2014-08-20 16:14:32 UTC
[N2QHE] 2014/08/27 20:35:55.651194 main.go:270: INFO: My ID: N2QHER4-JP534JE-DPJYQ6L-6OTKQ5T-XJTYV3N-L3TSRNA-EHNZYJ6-66SIVQD
[N2QHE] 2014/08/27 20:35:55.659048 main.go:436: INFO: Starting web GUI on http://127.0.0.1:8080/
[N2QHE] 2014/08/27 20:35:55.671108 main.go:460: INFO: Performing initial repository scan
[N2QHE] 2014/08/27 20:35:58.671477 main.go:593: INFO: No UPnP gateway detected
[N2QHE] 2014/08/27 20:35:58.671752 main.go:595: DEBUG: UPnP: read udp4 0.0.0.0:60442: i/o timeout
[N2QHE] 2014/08/27 20:35:58.671975 main.go:995: INFO: Sending local discovery announcements
[N2QHE] 2014/08/27 20:35:58.672178 main.go:1000: INFO: Sending global discovery announcements
[N2QHE] 2014/08/27 20:35:58.672351 main.go:507: OK: Ready to synchronize default (read-write)
[N2QHE] 2014/08/27 20:35:58.672666 main.go:523: INFO: Node N2QHER4-JP534JE-DPJYQ6L-6OTKQ5T-XJTYV3N-L3TSRNA-EHNZYJ6-66SIVQD is "athena.barrera.io" at [dynamic]
[N2QHE] 2014/08/27 20:35:58.672998 main.go:523: INFO: Node RBMRJJN-VGWVNEF-K2ZYTSG-DVLJLK7-SJIZRTB-RQNMVJ3-RPKC7W5-C26QXQQ is "hyperion.barrera.io" at [dynamic]
[N2QHE] 2014/08/27 20:35:58.674333 usage_report.go:93: INFO: Starting usage reporting
[N2QHE] 2014/08/27 20:35:58.675029 main.go:856: DEBUG: listening on 0.0.0.0:22000
I haven’t found much more information regarding why it might say this, or how to debug it. My internet is clearly working since I’m right now posting this from one of the machines involved.
Update: I came across similar threads, and let me clarify: Both nodes are connected straight to the internet, and are completely unfiltered. There are no firewalls of any kind involved.
Update2: I run SSTRACE=discover. Sounds like an actual issue, can somebody confirm this? These nodes are IPv6 only with NAT64 for backwards-compatibility, so syncthings should not attempt to use IPv4:
$ STTRACE=discover syncthing
[N2QHE] 2014/08/27 20:39:30.639985 main.go:269: INFO: syncthing v0.9.5 (go1.3.1 linux-amd64 default) wimpr1m@wimpr1m 2014-08-20 16:14:32 UTC
[N2QHE] 2014/08/27 20:39:30.640150 main.go:270: INFO: My ID: N2QHER4-JP534JE-DPJYQ6L-6OTKQ5T-XJTYV3N-L3TSRNA-EHNZYJ6-66SIVQD
[N2QHE] 2014/08/27 20:39:30.643461 main.go:436: INFO: Starting web GUI on http://127.0.0.1:8080/
[N2QHE] 2014/08/27 20:39:30.655509 main.go:460: INFO: Performing initial repository scan
[N2QHE] 2014/08/27 20:39:33.655865 main.go:593: INFO: No UPnP gateway detected
[N2QHE] 2014/08/27 20:39:33.655942 main.go:995: INFO: Sending local discovery announcements
[N2QHE] 2014/08/27 20:39:33.655956 main.go:1000: INFO: Sending global discovery announcements
[N2QHE] 2014/08/27 20:39:33.655975 main.go:507: OK: Ready to synchronize default (read-write)
[N2QHE] 2014/08/27 20:39:33.656133 main.go:523: INFO: Node N2QHER4-JP534JE-DPJYQ6L-6OTKQ5T-XJTYV3N-L3TSRNA-EHNZYJ6-66SIVQD is "athena.barrera.io" at [dynamic]
[N2QHE] 2014/08/27 20:39:33.656239 main.go:523: INFO: Node RBMRJJN-VGWVNEF-K2ZYTSG-DVLJLK7-SJIZRTB-RQNMVJ3-RPKC7W5-C26QXQQ is "hyperion.barrera.io" at [dynamic]
[N2QHE] 2014/08/27 20:39:33.656264 usage_report.go:93: INFO: Starting usage reporting
[N2QHE] 2014/08/27 20:39:35.720702 discover.go:380: DEBUG: discover: dial udp 194.126.249.5:22026: network is unreachable; no external lookup
[N2QHE] 2014/08/27 20:39:35.720854 discover.go:163: DEBUG: discover: announcing 0.0.0.0:22000: &net.TCPAddr{IP:net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0}, Port:22000, Zone:""}
[N2QHE] 2014/08/27 20:39:35.720918 discover.go:234: DEBUG: discover: send announcement -> 194.126.249.5:22026
00000000 9d 79 bc 39 00 00 00 20 6e a0 72 47 89 7f 77 c4 |.y.9... n.rG..w.|
00000010 8d e9 c4 3c bf 3a 6a 87 6e 99 e2 bb 6a f7 39 45 |...<.:j.n...j.9E|
00000020 a4 3b 73 84 fb de 92 2b 00 00 00 01 00 00 00 00 |.;s....+........|
00000030 00 00 55 f0 00 00 00 00 |..U.....|
[N2QHE] 2014/08/27 20:39:35.720952 discover.go:240: DEBUG: discover: warning: write udp: network is unreachable
[N2QHE] 2014/08/27 20:39:36.753934 discover.go:380: DEBUG: discover: dial udp 194.126.249.5:22026: network is unreachable; no external lookup
[N2QHE] 2014/08/27 20:39:38.782269 discover.go:380: DEBUG: discover: dial udp 194.126.249.5:22026: network is unreachable; no external lookup
[N2QHE] 2014/08/27 20:39:42.837449 discover.go:380: DEBUG: discover: dial udp 194.126.249.5:22026: network is unreachable; no external lookup
Update3: Updated title to reflect the actual issue.