I am having problems with my laptop (Win 10) and phone (Android) connecting to my home server (TrueNAS) while outside the local network. The devices will connect once in a while, become disconnected for long periods, then reconnect briefly again and the cycle continues. I have tried both public wifi (Starbucks) and mobile data on phone.
Laptop log (public wifi):
2025-08-20 12:04:13 INF Established secure connection (device=VO6T5H6 connection.local=172.16.224.210:22000 connection.remote=142.113.192.193:22000 connection.type=tcp-server connection.lan=false connection.crypto=TLS1.3-TLS_AES_128_GCM_SHA256 connection.prio=30 connection.id=62TGKM044E5JM2TQPJD4CKSPTG log.pkg=connections) 2025-08-20 12:04:13 INF New device connection (device=VO6T5H6 address=142.113.192.193:22000 remote.name=TrueNAS remote.client=syncthing remote.version=v1.30.0 log.pkg=model) 2025-08-20 12:05:44 INF Lost device connection (kind=primary device=VO6T5H6 connection=172.16.224.210:22000-142.113.192.193:22000/tcp-server/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGKM044E5JM2TQPJD4CKSPTG error=âreading length: read tcp 172.16.224.210:22000->142.113.192.193:22000: wsarecv: An existing connection was forcibly closed by the remote host.â remaining=0 log.pkg=model) 2025-08-20 12:05:44 INF Connection closed (device=VO6T5H6 connection=172.16.224.210:22000-142.113.192.193:22000/tcp-server/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGKM044E5JM2TQPJD4CKSPTG error=âreading length: read tcp 172.16.224.210:22000->142.113.192.193:22000: wsarecv: An existing connection was forcibly closed by the remote host.â log.pkg=model) 2025-08-20 12:06:31 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:22000 error=âApplication error 0x0 (remote): closingâ log.pkg=connections) 2025-08-20 12:06:45 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:57944 error=EOF log.pkg=connections) 2025-08-20 12:06:51 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:22000 error=âApplication error 0x0 (remote): closingâ log.pkg=connections) 2025-08-20 12:07:36 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:22000 error=âApplication error 0x0 (remote): closingâ log.pkg=connections) 2025-08-20 12:07:45 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:57944 error=âwrite tcp 172.16.224.210:22000->142.113.192.193:57944: wsasend: An existing connection was forcibly closed by the remote host.â log.pkg=connections) 2025-08-20 12:08:46 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:57944 error=âwrite tcp 172.16.224.210:22000->142.113.192.193:57944: wsasend: An existing connection was forcibly closed by the remote host.â log.pkg=connections) 2025-08-20 12:09:06 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:22000 error=âApplication error 0x0 (remote): closingâ log.pkg=connections) 2025-08-20 12:09:26 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:22000 error=âApplication error 0x0 (remote): closingâ log.pkg=connections) 2025-08-20 12:09:46 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:57944 error=âwrite tcp 172.16.224.210:22000->142.113.192.193:57944: wsasend: An existing connection was forcibly closed by the remote host.â log.pkg=connections) 2025-08-20 12:10:41 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:22000 error=âApplication error 0x0 (remote): closingâ log.pkg=connections) 2025-08-20 12:10:47 WRN Failed to exchange Hello messages (device=VO6T5H6 address=142.113.192.193:57944 error=âwrite tcp 172.16.224.210:22000->142.113.192.193:57944: wsasend: An existing connection was forcibly closed by the remote host.â log.pkg=connections) 2025-08-20 12:12:21 WRN Failed TLS handshake (address=142.113.192.193:22000 error=âread tcp 172.16.224.210:22000->142.113.192.193:22000: wsarecv: An existing connection was forcibly closed by the remote host.â log.pkg=connections) 2025-08-20 12:13:27 INF Established secure connection (device=VO6T5H6 connection.local=â[::]:22000â connection.remote=142.113.192.193:22000 connection.type=quic-client connection.lan=false connection.crypto=TLS1.3-TLS_AES_128_GCM_SHA256 connection.prio=40 connection.id=62TGMMDFIF3K4O492L5V9RP63S log.pkg=connections) 2025-08-20 12:13:27 INF New device connection (device=VO6T5H6 address=142.113.192.193:22000 remote.name=TrueNAS remote.client=syncthing remote.version=v1.30.0 log.pkg=model) 2025-08-20 12:13:50 WRN Failed TLS handshake (address=142.113.192.193:22000 error=âread tcp 172.16.224.210:22000->142.113.192.193:22000: wsarecv: An existing connection was forcibly closed by the remote host.â log.pkg=connections) 2025-08-20 12:13:52 INF Established secure connection (device=VO6T5H6 connection.local=172.16.224.210:22000 connection.remote=142.113.192.193:57944 connection.type=tcp-client connection.lan=false connection.crypto=TLS1.3-TLS_AES_128_GCM_SHA256 connection.prio=30 connection.id=62TGMPB6QGB3EMV97O9E52C470 log.pkg=connections) 2025-08-20 12:13:52 INF Additional device connection (device=VO6T5H6 address=142.113.192.193:57944 count=1 log.pkg=model) 2025-08-20 12:13:52 INF Lost device connection (kind=primary device=VO6T5H6 connection=â[::]:22000-142.113.192.193:22000/quic-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P40-62TGMMDFIF3K4O492L5V9RP63Sâ error=âreplacing connectionâ remaining=1 log.pkg=model)
Phone log (public wifi):
2025-08-20 12:10:36 Device VO6T5H6 client is âsyncthing v1.30.0â named âTrueNASâ at 172.16.227.158:57266-45.86.153.95:22067/relay-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P50-62TGM2F9QHA1EPO9I0T72KQFFG 2025-08-20 12:14:17 Established secure connection to VO6T5H6 at 172.16.227.158:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGMS8UFSG0EORCCPQH9EQD78 2025-08-20 12:14:17 Additional connection (+1) for device VO6T5H6 at 172.16.227.158:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGMS8UFSG0EORCCPQH9EQD78 2025-08-20 12:14:17 Lost primary connection to VO6T5H6 at 172.16.227.158:57266-45.86.153.95:22067/relay-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P50-62TGM2F9QHA1EPO9I0T72KQFFG: replacing connection (1 remain) 2025-08-20 12:16:34 Lost primary connection to VO6T5H6 at 172.16.227.158:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGMS8UFSG0EORCCPQH9EQD78: reading length: read tcp 172.16.227.158:22000->142.113.192.193:57944: read: connection reset by peer (0 remain) 2025-08-20 12:16:34 Connection to VO6T5H6 at 172.16.227.158:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGMS8UFSG0EORCCPQH9EQD78 closed: reading length: read tcp 172.16.227.158:22000->142.113.192.193:57944: read: connection reset by peer
Phone log (data servic):
2025-08-20 12:21:32 Joined relay relay://194.104.156.154:22067 2025-08-20 12:21:51 Established secure connection to VO6T5H6 at 10.104.171.153:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGOH488SDVI143LJCB4GH9HC 2025-08-20 12:21:51 Device VO6T5H6 client is âsyncthing v1.30.0â named âTrueNASâ at 10.104.171.153:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGOH488SDVI143LJCB4GH9HC 2025-08-20 12:23:38 Lost primary connection to VO6T5H6 at 10.104.171.153:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGOH488SDVI143LJCB4GH9HC: reading length: read tcp 10.104.171.153:22000->142.113.192.193:57944: read: connection reset by peer (0 remain) 2025-08-20 12:23:38 Connection to VO6T5H6 at 10.104.171.153:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-62TGOH488SDVI143LJCB4GH9HC closed: reading length: read tcp 10.104.171.153:22000->142.113.192.193:57944: read: connection reset by peer 2025-08-20 12:24:25 Failed to exchange Hello messages with VO6T5H6-HSEYYT5-P2YQ5BG-F2J4TQV-LEAYGLE-L5KY7RN-RMHIF5S-4RIZSQG at 10.104.171.153:22000-142.113.192.193:57944/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256/WAN-P30-31EOCHHLJ808GD5ENQOOAH3TVK: EOF
I have changed routers, internet provider, upgraded TrueNAS and Syncthing across devices over the last several months, but I donât recall when this started to happen after which network change. Iâm rarely outside my network so I canât pinpoint exactly when this issue happens as a result of what change.
