loop "write: connection reset by peer" aftre replace and out of sync one node

hi guys. after replacing my home server. syncthing ceased sync many folders. Showing in web ui “Out of sync” at folder header. And disconnected for all added devices. Folders include big and small files. After start sync a big file some time later connection reset. In log file:

[C6CCU] 20:02:27 INFO: Connection to CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ closed: writing message: write tcp [fe80::8ea9:82ff:fe3a:8254%wlan0]:40876->[fe80::9618:82ff:fe37:b521%wlan0]:22000: write: connection reset by peer
[C6CCU] 20:02:27 INFO: Puller (folder "rn", file "miui_HM4ProGlobal_V8.1.2.0.MBEMIDI_a8edfe4ee7_6.0.zip"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[C6CCU] 20:02:27 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later

new file not changing on all the devices in sync process. This error reproduced on all my devices. This is repeated as a LAN or via the Internet

What versions do you use on your devices? Including which arch (32Bit / 64Bit, x86 / ARM / …).

today update to 0.14.20. only amd64 arch on one Windows three Linux and one Mac

Check the other side, as it seems the other side is deciding to disconnect for some reason.

first <-LAN-> second second <-Internet->third first <-Internet->third

first:

янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/fbjs/lib/forEachObject.js"): pull:
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/coa/lib/completion.sh"): pull: pee
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-eslint/node_modules/lodash/i
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-plugin-transform-export-exte
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-plugin-proto-to-assign/node_
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-eslint/node_modules/lodash/i
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-plugin-proto-to-assign/node_
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-eslint/node_modules/lodash/a
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/defs/build/es5/stats.js"): pull: p
янв 24 20:57:26 srv syncthing[43665]: [CBTQB] INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/expose-loader/README.md"): pull: p
янв 24 20:57:46 srv syncthing[43665]: [CBTQB] INFO: Established secure connection to C6CCU2O-TNGEROP-WAYVDOT-YSPCNDV-KT6EERO-2ZEKCME-RPQD3PD-4LJT6AZ at 172.16.
янв 24 20:57:46 srv syncthing[43665]: [CBTQB] INFO: Device C6CCU2O-TNGEROP-WAYVDOT-YSPCNDV-KT6EERO-2ZEKCME-RPQD3PD-4LJT6AZ client is "syncthing v0.14.20" named
янв 24 20:57:46 srv syncthing[43665]: [CBTQB] INFO: Connection to C6CCU2O-TNGEROP-WAYVDOT-YSPCNDV-KT6EERO-2ZEKCME-RPQD3PD-4LJT6AZ closed: reading length: read 
янв 24 20:57:47 srv syncthing[43665]: [CBTQB] INFO: Established secure connection to YOSTSGD-B5G6VRN-FXPOXFZ-WSPNOLW-OWDRPXA-YLQTDYT-KBQSRYI-WOP6HQA at 172.16.
янв 24 20:57:47 srv syncthing[43665]: [CBTQB] INFO: Device YOSTSGD-B5G6VRN-FXPOXFZ-WSPNOLW-OWDRPXA-YLQTDYT-KBQSRYI-WOP6HQA client is "syncthing v0.14.19" named
янв 24 20:57:47 srv syncthing[43665]: [CBTQB] INFO: Connection to YOSTSGD-B5G6VRN-FXPOXFZ-WSPNOLW-OWDRPXA-YLQTDYT-KBQSRYI-WOP6HQA closed: writing message: writ
lines 61775-61800/61800 (END)

second

[C6CCU] 20:57:23 INFO: Established secure connection to CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ at [fe80::8ea9:82ff:fe3a:8254%wlan0]:22000-[fe80::9618:82ff:fe37:b521%wlan0]:38912 (tcp-server) (TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384)
[C6CCU] 20:57:23 INFO: Device CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ client is "syncthing v0.14.20" named "srv"
[C6CCU] 20:57:46 INFO: Connected to already connected device (CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ)
[C6CCU] 20:57:48 INFO: Puller (folder "rn", file "miui_HM4ProGlobal_V8.1.2.0.MBEMIDI_a8edfe4ee7_6.0.zip"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[C6CCU] 20:57:48 INFO: Connection to CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ closed: writing message: write tcp [fe80::8ea9:82ff:fe3a:8254%wlan0]:22000->[fe80::9618:82ff:fe37:b521%wlan0]:38912: write: connection reset by peer
[C6CCU] 20:57:48 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[C6CCU] 20:58:24 INFO: Established secure connection to CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ at [fe80::8ea9:82ff:fe3a:8254%wlan0]:22000-[fe80::9618:82ff:fe37:b521%wlan0]:39178 (tcp-server) (TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384)
[C6CCU] 20:58:24 INFO: Device CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ client is "syncthing v0.14.20" named "srv"
[C6CCU] 20:58:49 INFO: Connected to already connected device (CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ)
[C6CCU] 20:58:49 INFO: Puller (folder "rn", file "miui_HM4ProGlobal_V8.1.2.0.MBEMIDI_a8edfe4ee7_6.0.zip"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[C6CCU] 20:58:49 INFO: Connection to CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ closed: writing message: write tcp [fe80::8ea9:82ff:fe3a:8254%wlan0]:22000->[fe80::9618:82ff:fe37:b521%wlan0]:39178: write: connection reset by peer
[C6CCU] 20:58:49 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later

third

[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/dom-walk/example/static/bundle.js"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/slash/package.json"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/postcss-custom-media/LICENSE"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/caniuse-db/region-usage-json/VU.json"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/babel-eslint/node_modules/lodash/lang/isRegExp.js"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/postcss-ordered-values/dist/lib/getValue.js"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller (folder "gopath", file "src/github.com/hdhog/starter/node_modules/source-list-map/lib/MappingsContext.js"): pull: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:55:09 INFO: Puller: final: peers who had this file went away, or the file has changed while syncing. will retry later
[XY2XC] 20:57:01 INFO: Connected to already connected device (CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ)
[XY2XC] 20:58:56 INFO: Connected to already connected device (CBTQB2S-7EP5ELP-GRRXF6B-CQAX6AM-BNLQTW5-ETDP4Z2-ZHLQXZA-SFMSLAZ)

If the contents of your files were changed, but the modification times weren’t, and you retained your Syncthing index, things will have become very confused. This looks something like that. Apart from the “connection reset by peer” stuff which is unexplained.

i tried create new index db (remove old and start syncthing) but this not affect at this problem.

server replaced 24 december 2016. After this date i have a problem sync files.

Are all devices running 0.14.20?

yes. only osx used 0.14.19

I suggest you start from scratch. Delete all folders on all devices, and rebuild from scratch under a different folder id.

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