But when searching for this and after reading this I guess that doesn’t really matter as the lookup of other device should still works even with this message, right?
Where else could I search what is causing this issue?
I mean that might mean that Syncthing can’t announce it’s own address anymore, but the discovery server should still be able to get the address from the announcement.
Anyway screenshots of the remote devices from both sides are a good way to start debugging this.
On my Linux machine I have following iptables config (which I guess now after looking at the screenshots might play a role?). However, with the version < 1.19.0 I didn’t have any problems with this config though. Did anything in 1.19.0 change, so that I need to adjust my iptables? Or do I still need to have a look somewhere else?
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT ACCEPT
-N TCP
-N UDP
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate INVALID -j DROP
-A INPUT -p icmp -m icmp --icmp-type 8 -m conntrack --ctstate NEW -j ACCEPT
-A INPUT -p udp -m conntrack --ctstate NEW -j UDP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j TCP
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p tcp -j REJECT --reject-with tcp-reset
-A INPUT -j REJECT --reject-with icmp-proto-unreachable
-A INPUT -p tcp -m tcp --dport 22000 -j ACCEPT
-A INPUT -p udp -m udp --dport 22000 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 21027 -j ACCEPT
-A INPUT -p udp -m udp --dport 21027 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22067 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22070 -j ACCEPT
The iptable rules look ok (22000 allowed). Are the ips/ports listed on the android correct? If they are, there still has to be some kind of firewall problem, as it’s correctly discovering the linux machine but still getting connection refused errors.
As for what changed: Likely discovery announcements on android are mostly broken with the upgrade due to new android limitations.
21027 is local discovery, which you have enabled in Syncthing, so would make sense to enable it in firewall too. See the docs for all ports and explanations: Firewall Setup — Syncthing v1 documentation
I just wanted to add a quick note that I’m running into the same problem with my GrapheneOS Android app and Windows 10 Pro (x64) connection: updated to 1.19.0 on my phone and the two devices don’t see each other any more. I’ll run through the above and see if anything helps.
EDIT: I don’t see what’s wrong on my system. But, since I’m using GrapheneOS/Windows 10, let me start my own thread on this.