sorry I am trying to find solution which I did describe here
but maybe I should ask here first
I have syncthing on server in docker behind SWAG (I did tested that on separate raspberry and works ok) and looks that server is trying to connect client on different port as 22000.
strange thing is that firstly it did established connection and sync is working OK but I still getting those fail messages.
I delete container and remove config directory.
Then I did start new container.
I can access web gui and I see all default settings, so I enable only “local discovery”.
I am clicking “add remove device” and I can see all other devices which are running syncthing.
One is my laptop and another is my phone. {also my son and wife laptop}.
I did not add any device but already I can see fail message :
Failed to exchange Hello messages with QZA2RWM-xxxx
at 172.18.0.2:22000-192.168.75.152:22000/tcp-server/TLS1.3-TLS_AES_128_GCM_SHA256:
write tcp 172.18.0.2:22000->192.168.75.152:22000: write: connection reset by peer
that is my laptop, strange …
my laptop can connect with another syncthing devices.
looks that problem is with discovery
ok
I did pair my phone with server and it perfectly works.
photos from phone are synced with just created new syncthing container on server.
There is only one fail message which I did past few line before.
It is very strange, I have firewalld on laptop and syncthing is enabled.
I did enable LOG denied
firewall-cmd --get-log-denied
all
but dont see anything in journal
there is also nothing strange in syncthing log on laptop
Just for the record, local discovery is broken on Android (which I assume the “phone” mentioned later runs). If you want it to connect automatically, you need to either enable global discovery and/or relaying, or hard-code the IP address (or hostname).