Failed to exchange Hello messages / TLS handshake (BEP/tcp): EOF

I’m getting the following error messages after upgrading to Syncthing 0.14.2 on a DNS-320 NAS (Linux arm-32 2.6.31.8). This machine can’t connect to any of the others running the same version of Syncthing. What can be wrong? I have no problem an a 64bit Ubuntu 14.04 machine with the same version of Syncthing. I had no problem before upgrading to v14. There was no change in the router’s configuration or anywhere else in the network.

[XXXXX] 08:53:09 INFO: Failed to exchange Hello messages with XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (192.168.1.167:50458): EOF
[XXXXX] 08:53:16 INFO: TLS handshake (BEP/tcp): EOF
[XXXXX] 08:53:24 INFO: TLS handshake (BEP/tcp): EOF
[XXXXX] 08:53:46 INFO: Failed to exchange Hello messages with XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (192.168.1.109:51064): EOF
[XXXXX] 08:54:00 INFO: Failed to exchange Hello messages with XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (192.168.1.101:51163): EOF
[XXXXX] 08:54:05 INFO: TLS handshake (BEP/tcp): EOF
[XXXXX] 08:54:11 INFO: TLS handshake (BEP/tcp): EOF

[XXXXX] 2016/07/28 09:53:06.824175 tcp_listen.go:113: INFO: TLS handshake (BEP/tcp): EOF
[XXXXX] 2016/07/28 09:53:08.441473 local.go:176: DEBUG: discover: Received local announcement from 192.168.1.109:61988 for XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
[XXXXX] 2016/07/28 09:53:08.444235 local.go:208: DEBUG: discover: Registering addresses for XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
[XXXXX] 2016/07/28 09:53:08.445084 local.go:242: DEBUG: discover: Reconstructed URL is &url.URL{Scheme:"tcp", Opaque:"", User:(*url.Userinfo)(nil), Host:"192.168.1.109:22000", Path:"", RawPath:"", RawQuery:"", Fragment:""}
[XXXXX] 2016/07/28 09:53:08.445533 local.go:244: DEBUG: discover: Replaced address 0.0.0.0 in tcp://0.0.0.0:22000 to get tcp://192.168.1.109:22000

[XXXXX] 2016/07/28 10:15:47.743355 service.go:179: INFO: Failed to exchange Hello messages with XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (192.168.1.101:52325): EOF
[XXXXX] 2016/07/28 10:15:52.172839 tcp_listen.go:113: INFO: TLS handshake (BEP/tcp): EOF

A similar issue was alread discussed here: Syncthing not running in MacOS Sierra Beta I had to open a new thread because I was limited to only 3 replies as a new user.

It’s most likely the firewall, some antivirus/software which tries to inspect connection traffic or poor connection.

I had no problem before upgrading to v14. There was no change in the router’s configuration or anywhere else in the network.

What is your CPU usage on the NAS? I get the same when some other process already uses a lot of CPU on my raspberry pi 1 and it seems like your NAS also has a quite weak processor from what I found.

The side saying “EOF” just means the other side closed the connection. Check the logs on the other side.

This is my setup: I have around 10 PCs syncing to the NAS. All the PCs are also syncing to another PC located in another town. The NAS and the remote PC are also syncing with each other. Everything is working fine except for that NAS which can’t connect to anything after upgrading to 14.

There was no problem with the weak CPU so far.

What about the failing of the Hello message exchange? What does it mean?

It means exactly what I said. Something causes the machine to close connections prematurely. The close of the connection can come from either side, hence check the logs from both sides, and look for panic files in the syncthing config folder.

I just upgraded to 14.3 and it’s already connecting to some of the other machines. So it looks better now. I’ll continue testing on Monday.

Thanks for you help anyway!

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