This is your mistake. 0.0.0.0 is effectively localhost when you attempt to connect to it. You need to put the phone’s IP address(es) (or dynamic) in there.
Are you saying in the Phones address space I put the phones address if I want to do a local connection to the PC?
As I said the PC is seeing the phone, but has an incorrect ID. That would imply 0.0.0.0 works, but something is mangling the TLS packets, right? Or do i have this all wrong?
On the PC, did you set tcp://0.0.0.0:22000, quic://0.0.0.0:22000 in the phone’s Advanced → Addresses field? If so, the PC will try to connect to itself on port 22000, and because you are connecting to the wrong device (the PC), you get an unexpected device ID error.
On the PC, did you set tcp://0.0.0.0:22000, quic://0.0.0.0:22000 in the phone’s Advanced → Addresses field? If so, the PC will try to connect to itself on port 22000, and because you are connecting to the wrong device (the PC), you get an unexpected device ID error.
I am unable to parse your reply.
On the PC, I set the phones Advanced → Addresses field, and that causes the PC, not the phone that I set, to connect to the PC/itself? Is that what you meant?
Perhaps I’ll ask this, What do i set in the advanced address field to only use the local network but not connect to itself?
The correct way to do this would be to put the phone’s address in there, for example, if your phone’s IP address is 10.42.0.88, then you would set something like tcp://10.42.0.88:22000, quic://10.42.0.88:22000 in there.
That’s probably not an option in your scenario as you said the IPs vary, and in that case dynamic (or something integrating with the Syncthing API to change the addresses) is the best you’ve got.
When using dynamic, what connection type do you have after it finally connects?
The addresses you set there were the addresses the PC uses to connect to the phone.
For robustness/consistency, you could also set which addresses the phone uses to connect to the PC, in Syncthing-Fork → Devices → PC → Addresses (link icon)
So if your PC’s address is 10.42.0.1, something like this: