I’m trying to use syncthing between an Android smartphone (LOS 18.1, Android 11) and a rpi. The rpi is connected to a NAS and supposed to receive data, to store it on the NAS. I dont need it to work over the internet, so both devices are configured to only search the local network for other syncthing-devices. That works with my Linux-Desktop like a charm, but I cant persuade my smartphone and rpi to talk to each other. Even though I have given both the local IP of the other device to find it.
The protocol of the android app is telling me the following:
I understand what that generally means, but I don`t see where it comes from. Both the rpi and the smartphone are pretty up to date and should therefore be able to use at least TLS 1.2. So I hope someone here can point me in the right direction, to get my setup running.
I guess you mean the version of syncthing, not TLS?
The Android-App says v1.20.1, the rpi-GUI v1.0.0-ds1, Linux (ARM) “Erbium Earthworm”. If they are supposed to match, the rpi-version is obviously quite outdated. Sry that I didn’t had this idea myself, I actually didn’t expect the official repository to be outdated.
Well depends on your definition of official. On your RPI, you’re currently using a syncthing version from debian repositories. Those packages are made and maintained by Debian maintainers, not syncthing.
Debian has a design philosophy of stable packages: On a stable OS release, no new versions are usually permitted, unless it’s an important bugfix or security issue (if a change fits into this category is also a decision made by the debian people). Debian/Ubuntu prefer to backport changes to old versions rather than upgrade to new upstream releases.
That’s why it’s quite common to have packages on those distros that are multiple years old. If you were to upgrade to Debian bullseye you would get syncthing 1.12 from the debian repositories which is also not exactly new, though not as old as buster.
Debian’s principles are fine for slow-moving packages or setups where both sides are on the old version. But old and new doesn’t really mix well.
For this reason syncthing maintains its own apt repository, which always has the latest version. That’s what @calmh linked above.