Issue to conenct in WAN?

I could able to sync 10 devices(1 PC and 9 mobile) quickly in on my local network, all are working on same WIFI.

I moved server devices to DO cloud machines and all mobile device are connected under different network, Now it seems 6 devices are in disconnect mode and syncing also not working well.

Is there any specific reason for it?

I am using the default for discovery and relay.

Can you post the Syncthing log from the DO cloud machines and/or look for all lines referring to connectivity. You can also find the log in the web UI via Actions->Logs.

Pleases see the latest logs, Currently, i am trying with two devices

2018-02-08 07:27:01 syncthing v0.14.43 "Dysprosium Dragonfly" (go1.9.2 linux-amd64) teamcity@build.syncthing.net 2017-12-29 21:23:06 UTC
2018-02-08 07:27:01 My ID: 7PJCGGO-LOMP4MG-PDI5H42-ELNBKJD-7WS3XVO-AOBWRRB-GYBH4NT-MI4O7Q3
2018-02-08 07:27:02 Single thread SHA256 performance is 86 MB/s using minio/sha256-simd (82 MB/s using crypto/sha256).
2018-02-08 07:27:03 Hashing performance with weak hash is 73.95 MB/s
2018-02-08 07:27:04 Hashing performance without weak hash is 86.62 MB/s
2018-02-08 07:27:04 Weak hash enabled, as it has an acceptable performance impact.
2018-02-08 07:27:04 Send rate is unlimited, receive rate is unlimited
2018-02-08 07:27:04 Rate limits do not apply to LAN connections
2018-02-08 07:27:04 Using discovery server https://discovery-v4-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
2018-02-08 07:27:04 Using discovery server https://discovery-v4-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
2018-02-08 07:27:04 ...
2018-02-08 07:27:04 Using discovery server https://discovery-v4-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-08 07:27:04 Using discovery server https://discovery-v6-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
2018-02-08 07:27:04 Using discovery server https://discovery-v6-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
2018-02-08 07:27:04 Using discovery server https://discovery-v6-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-08 07:27:04 TCP listener ([::]:22000) starting
2018-02-08 07:27:04 Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
2018-02-08 07:27:04 KCP listener ([::]:22020) starting
2018-02-08 07:27:04 GUI and API listening on 198.211.115.107:8384
2018-02-08 07:27:04 Access the GUI via the following URL: http://198.211.115.107:8384/
2018-02-08 07:27:04 Device 7PJCGGO-LOMP4MG-PDI5H42-ELNBKJD-7WS3XVO-AOBWRRB-GYBH4NT-MI4O7Q3 is "stb-devl.ncy1.rgbbroadcasting.com" at [dynamic]
2018-02-08 07:27:04 Syncthing should not run as a privileged or system user. Please consider using a normal user account.
2018-02-08 07:27:06 Detected 0 NAT devices
2018-02-08 07:27:14 kcp://0.0.0.0:22020 detected NAT type: Symmetric UDP firewall
2018-02-08 07:27:19 Joined relay relay://198.211.110.10:22067
2018-02-08 07:28:04 Adding folder "all-horizontal" (all-horizontal)
2018-02-08 07:28:04 No stored folder metadata for "all-horizontal": recalculating
2018-02-08 07:28:04 Ready to synchronize "all-horizontal" (all-horizontal) (readonly)
2018-02-08 07:28:04 Adding folder "all-vertical" (all-vertical)
2018-02-08 07:28:04 No stored folder metadata for "all-vertical": recalculating
2018-02-08 07:28:04 Ready to synchronize "all-vertical" (all-vertical) (readonly)
2018-02-08 07:28:04 Completed initial scan of readonly folder "all-horizontal" (all-horizontal)
2018-02-08 07:28:04 Completed initial scan of readonly folder "all-vertical" (all-vertical)
2018-02-08 08:11:09 Adding folder "zone-India-horizontal" (zone-India-horizontal)
2018-02-08 08:11:09 No stored folder metadata for "zone-India-horizontal": recalculating
2018-02-08 08:11:09 Ready to synchronize "zone-India-horizontal" (zone-India-horizontal) (readonly)
2018-02-08 08:11:09 Adding folder "zone-India-vertical" (zone-India-vertical)
2018-02-08 08:11:09 No stored folder metadata for "zone-India-vertical": recalculating
2018-02-08 08:11:09 Ready to synchronize "zone-India-vertical" (zone-India-vertical) (readonly)
2018-02-08 08:11:09 Completed initial scan of readonly folder "zone-India-horizontal" (zone-India-horizontal)
2018-02-08 08:11:09 Completed initial scan of readonly folder "zone-India-vertical" (zone-India-vertical)
2018-02-08 08:11:26 Adding folder "branch-South India-horizontal" (branch-South India-horizontal)
2018-02-08 08:11:26 No stored folder metadata for "branch-South India-horizontal": recalculating
2018-02-08 08:11:26 Ready to synchronize "branch-South India-horizontal" (branch-South India-horizontal) (readonly)
2018-02-08 08:11:26 Adding folder "branch-South India-vertical" (branch-South India-vertical)
2018-02-08 08:11:26 No stored folder metadata for "branch-South India-vertical": recalculating
2018-02-08 08:11:26 Ready to synchronize "branch-South India-vertical" (branch-South India-vertical) (readonly)
2018-02-08 08:11:26 Completed initial scan of readonly folder "branch-South India-horizontal" (branch-South India-horizontal)
2018-02-08 08:11:26 Completed initial scan of readonly folder "branch-South India-vertical" (branch-South India-vertical)
2018-02-08 08:16:21 Restarted folder "all-vertical" (all-vertical) (readonly)
2018-02-08 08:16:21 Restarted folder "zone-India-vertical" (zone-India-vertical) (readonly)
2018-02-08 08:16:21 Restarted folder "branch-South India-vertical" (branch-South India-vertical) (readonly)
2018-02-08 08:16:21 Completed initial scan of readonly folder "all-vertical" (all-vertical)
2018-02-08 08:16:21 Completed initial scan of readonly folder "branch-South India-vertical" (branch-South India-vertical)
2018-02-08 08:16:21 Completed initial scan of readonly folder "zone-India-vertical" (zone-India-vertical)
2018-02-08 08:17:32 Established secure connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 at 198.211.115.107:42072-111.221.44.148:17607 (relay-client) (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 08:17:32 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 client is "syncthing v0.14.44-rc.2+21-g14a5561" named ""
2018-02-08 08:17:32 Connected to device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 with a newer version (current "v0.14.43" < remote "v0.14.44-rc.2+21-g14a5561"). Checking for upgrades.
2018-02-08 08:17:33 Connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 closed: reading length: EOF
2018-02-08 08:18:09 Adding folder "branch-North India-horizontal" (branch-North India-horizontal)
2018-02-08 08:18:09 No stored folder metadata for "branch-North India-horizontal": recalculating
2018-02-08 08:18:09 Ready to synchronize "branch-North India-horizontal" (branch-North India-horizontal) (readonly)
2018-02-08 08:18:09 Adding folder "branch-North India-vertical" (branch-North India-vertical)
2018-02-08 08:18:09 No stored folder metadata for "branch-North India-vertical": recalculating
2018-02-08 08:18:09 Ready to synchronize "branch-North India-vertical" (branch-North India-vertical) (readonly)
2018-02-08 08:18:09 Completed initial scan of readonly folder "branch-North India-horizontal" (branch-North India-horizontal)
2018-02-08 08:18:09 Completed initial scan of readonly folder "branch-North India-vertical" (branch-North India-vertical)
2018-02-08 08:18:12 Established secure connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 at 198.211.115.107:22000-106.203.125.248:60209 (tcp-server) (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 08:18:12 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 client is "syncthing v0.14.44-rc.2+21-g14a5561" named "ASUS_X00GD"
2018-02-08 08:18:12 Connected to device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 with a newer version (current "v0.14.43" < remote "v0.14.44-rc.2+21-g14a5561"). Checking for upgrades.
2018-02-08 08:18:28 Connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 closed: reading length: EOF
2018-02-08 08:19:20 Established secure connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 at 198.211.115.107:22000-106.203.125.248:4676 (tcp-server) (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 08:19:20 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 client is "syncthing v0.14.44-rc.2+21-g14a5561" named "ASUS_X00GD"
2018-02-08 08:19:20 Connected to device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 with a newer version (current "v0.14.43" < remote "v0.14.44-rc.2+21-g14a5561"). Checking for upgrades.
2018-02-08 08:19:20 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 folder "all-vertical" (all-vertical) has a new index ID (0x7A0819A1430EAD6C)
2018-02-08 08:19:20 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 folder "branch-South India-vertical" (branch-South India-vertical) has a new index ID (0x509C73FAFD870466)
2018-02-08 08:19:20 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 folder "zone-India-vertical" (zone-India-vertical) has a new index ID (0x21613281056F4CDE)
2018-02-08 08:20:10 Restarted folder "all-vertical" (all-vertical) (readonly)
2018-02-08 08:20:10 Restarted folder "zone-India-vertical" (zone-India-vertical) (readonly)
2018-02-08 08:20:10 Restarted folder "branch-South India-vertical" (branch-South India-vertical) (readonly)
2018-02-08 08:20:10 Connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 closed: reading length: read tcp 198.211.115.107:22000->106.203.125.248:4676: use of closed network connection
2018-02-08 08:20:10 Completed initial scan of readonly folder "all-vertical" (all-vertical)
2018-02-08 08:20:10 Completed initial scan of readonly folder "branch-South India-vertical" (branch-South India-vertical)
2018-02-08 08:20:10 Completed initial scan of readonly folder "zone-India-vertical" (zone-India-vertical)
2018-02-08 08:20:27 Established secure connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 at 198.211.115.107:22000-106.203.125.248:12690 (tcp-server) (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 08:20:27 Device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 client is "syncthing v0.14.44-rc.2+21-g14a5561" named "ASUS_X00GD"
2018-02-08 08:20:27 Connected to device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 with a newer version (current "v0.14.43" < remote "v0.14.44-rc.2+21-g14a5561"). Checking for upgrades.
2018-02-08 08:29:18 Established secure connection to YJI5LLU-CIVFBQQ-ZFRJ4WE-UNUFQ4M-CK2ZJSJ-U2YS7RQ-U2TWEMS-L7VB6AL at 198.211.115.107:55470-139.59.43.68:22067 (relay-client) (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-08 08:29:18 Device YJI5LLU-CIVFBQQ-ZFRJ4WE-UNUFQ4M-CK2ZJSJ-U2YS7RQ-U2TWEMS-L7VB6AL client is "syncthing v0.14.44-rc.2+21-g14a5561" named ""
2018-02-08 08:29:18 Connected to device YJI5LLU-CIVFBQQ-ZFRJ4WE-UNUFQ4M-CK2ZJSJ-U2YS7RQ-U2TWEMS-L7VB6AL with a newer version (current "v0.14.43" < remote "v0.14.44-rc.2+21-g14a5561"). Checking for upgrades.
2018-02-08 08:29:18 Connection to YJI5LLU-CIVFBQQ-ZFRJ4WE-UNUFQ4M-CK2ZJSJ-U2YS7RQ-U2TWEMS-L7VB6AL closed: reading length: EOF
2018-02-08 08:29:51 Connection to 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6 closed: reading length: read tcp 198.211.115.107:22000->106.203.125.248:12690: read: connection reset by peer

First thing I noticed is that you use a “dirty” version, however the hash points to an older commit on master, so that shouldn’t be the problem - still, any specific reason that you use that?

The device 5LMJFP7 seems to close the connection, can you get logs from that device too.

We are using 0.10.4 version for Android, Can you please suggest supporting version of syncthing?

My syncthing version is v0.14.43

That’s weird, did you install from F-Droid or Google Play?

@Nutomic Any idea why syncthing-android 0.10.4 runs with syncthing v0.14.44-rc.2+21-g14a5561?

In any case I doubt this is the reason for your connection problems, so please check the logs on 5LMJFP7.

Thank you @imsodin Can i update to v0.14.44-rc.3 to connect android version 0.10.4?

As I said, the version probably doesn’t matter. v0.14.x are all compatible. And v0.14.44 was just released, so no need to install rc3. However what we really need are logs.

Not sure, I would assume it’s a problem with F-Droid. I have a script that selects the correct Syncthing version, so the Google Play version should definitely be fine.

I just checked and F-Droid’s 0.10.4 correctly runs v0.14.43.

@jamsheer-thottathil How did you install Syncthing on device 5LMJFP7-OYEPHFP-Z347WFM-PUF37HM-PYIOHHW-IPU7MRB-6N6WAPU-2BCWWQ6, where the version is “syncthing v0.14.44-rc.2+21-g14a5561”. This is not an officially released version.

I don’t know how this version is coming @imsodin

Please see My syncthing versions on yesterday,

0.10.4 for Android v0.14.43 for syncthing.

I had clicked the upgrade recommend button that appeared on UI, and now version is updated to v0.14.44, Linux (64 bit)

Please note that I am not sure I upgraded before or after paste log here.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.