pxker
(P.Xker)
June 16, 2015, 6:45pm
1
Syncing on my local network, not with any device on external networks
Using Win7, XP and Android devices
Maybe I am missing something?
GUI Listen Addresses 127.0.0.1:8384
Sync Protocol Listen Addresses 0.0.0.0:22000
Enable UPnP ENABLED
Global Discovery ENABLED
Automatic upgrades ENABLED
Local Discovery ENABLED
Global Discovery Server
udp4://announce.syncthing.net:22026, udp6://announce-v6.syncthing.net:22026
It should work.
Are all devices on the same subnet, does the router allow multicasts, do firewalls permit multicasts?
pxker
(P.Xker)
June 16, 2015, 7:14pm
3
AudriusButkevicius:
multicasts
Netgear WNR1000v3
UPnP: activated
multicast: I dont´see that.
tried everything with firewall disabled
Try setting STTRACE=beacon,discovery environment variable, and see the logs for more clues.
Does it actually say that local discovery started successfully?
pxker
(P.Xker)
June 16, 2015, 7:21pm
5
Sorry, I have no idea what that is and where to set that.
Seems like I have to know more than I do, to run syncthing?
Everything works fine with btsync, if that maybe tells you, that the router settings are fine ?
BTSync uses a different way of connecting, so not necessarily.
If you use SyncTrayzor, under advanced syncthing options, you can just put a value beacon,discovery and restart syncthing (not SyncTrayzor) and gather the more verbose log for inspection.
pxker
(P.Xker)
June 16, 2015, 10:30pm
7
Ty, but I might be not smart enough to run syncthing.
[IHCNG] 2015/06/17 00:12:00.313200 main.go:795: INFO: Starting web GUI on https://127.0.0.1:8384/
[IHCNG] 2015/06/17 00:12:03.061200 main.go:876: INFO: Starting global discovery announcements
[IHCNG] 2015/06/17 00:12:03.079200 main.go:664: INFO: Device 65THBOT is “x” at [dynamic]
[IHCNG] 2015/06/17 00:12:03.080200 main.go:664: INFO: Device IHCNGSE is “x1” at [dynamic]
[IHCNG] 2015/06/17 00:12:03.081200 main.go:664: INFO: Device IL57KFD is “x2” at [dynamic]
[IHCNG] 2015/06/17 00:12:03.081200 main.go:664: INFO: Device WCXHQSM is “x3” at [dynamic]
[IHCNG] 2015/06/17 00:12:03.177200 gui.go:221: INFO: API listening on 127.0.0.1:8384
[IHCNG] 2015/06/17 00:12:13.801200 upnpsvc.go:81: INFO: New UPnP port mapping: external port 6184 to local port 22000.
[IHCNG] 2015/06/17 00:42:15.794200 upnp.go:261: INFO: Invalid IGD response: invalid device UUID upnp-InternetGatewayDevice-1_0-0006250411r0 (continuing anyway)
[IHCNG] 2015/06/17 00:42:15.833200 upnp.go:261: INFO: Invalid IGD response: invalid device UUID upnp-InternetGatewayDevice-1_0-0006250411r0 (continuing anyway)
[IHCNG] 2015/06/17 00:42:20.872200 upnp.go:261: INFO: Invalid IGD response: invalid device UUID upnp-InternetGatewayDevice-1_0-0006250411r0 (continuing anyway)
[IHCNG] 2015/06/17 00:42:20.908200 upnp.go:261: INFO: Invalid IGD response: invalid device UUID upnp-InternetGatewayDevice-1_0-0006250411r0 (continuing anyway)
BTW
when Local Discovery is ENABLED, it works in local network… not external.
I tried Local Discovery DISABLED. No syncing anywhere.
Well, local discovery implies discovery via local network.
Make sure global discovery is enabled on all devices, and at least two of them are able to get a UPnP port mapping, which is critical to be able to connect if they are not on the same network.
pxker
(P.Xker)
June 16, 2015, 10:51pm
9
AudriusButkevicius:
global discovery
global discovery is enabled on all devices
Then you can run with STTRACE=discovery environment variable set, and see why it’s not finding remote peers.
pxker
(P.Xker)
June 16, 2015, 11:18pm
11
DEBUG: discover udp6://announce-v6.syncthing.net:22026: broadcast resolve: GetAddrInfoW: Der angegebene Host ist unbekannt.; trying again in 1m0s
meaning host unknown
That’s fine, that’s IPv6, what about IPv4 though?
Does it say 1/2 (1 out of 2) in the web ui on all devices?
pxker
(P.Xker)
June 16, 2015, 11:35pm
13
1/2 (1 out of 2)
[IHCNG] 2015/06/17 01:45:57.207200 client_udp.go:223: DEBUG: discover udp4://announce.syncthing.net:22026: Lookup(WCXHQSM) result: [my.ip:61185 my.ip:22000]
Given devies A B and C, what does Lookup for B and C look on A?
pxker
(P.Xker)
June 17, 2015, 1:00am
15
Looks like this:
A B C have global discovery ENABLED
A has local discovery DISABLED ( WIN 7 )
B has local discovery ENABLED ( Windows XP )
C has local discovery ENABLED ( Android App)
[[A] 2015/06/17 04:52:39.728200 client_udp.go:223: DEBUG: discover udp4://announce.syncthing.net:22026: Lookup© result: [my.IP:61185 my.IP:22000]
[A] 2015/06/17 04:53:21.797200 client_udp.go:223: DEBUG: discover udp4://announce.syncthing.net:22026: Lookup(B) result: [my.IP:22034]
So ideally you should join IRC to that people could answer/ask questions in real time, as debugging via forum will take a while.
As I’ve explained, local discovery has nothing to do with this.
I assume A is outside of the network? Have B and C both successfully acquired a UPnP port mapping, given A is trying to connect to them?
pxker
(P.Xker)
June 17, 2015, 8:21pm
17
What if I just use 2 Android smartphones, both using 3G, not WLAN, no router. Should that work?
Syncthing should just work like any software, without all this problems imo.
To bad, because I was recommending it after I found it, now I can´t get it to work.
Thank you anyway.
canton7
(Antony Male)
June 17, 2015, 8:58pm
18
Have you hopped on IRC for a debugging session yet?
canton7
(Antony Male)
June 17, 2015, 9:14pm
20
https://webchat.freenode.net/ it’s late in Europe at the moment, though, so the channel will likely be quiet.