You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Connectivity issue from Syncthing V2 (2.0.0) to V1 (1.30.0) #10251
I run a star network with Syncthing. I updated one client to Syncthing version 2.0.0 and it could no longer connect to my server running version 1.30.0. It showed Disconnected is the server header and no such host for the local address and ports (tcp, quic on IPv4 and IPv6).
On my other devices running Syncthing 1.30.0 (Windows) or Syncthing 1.30.0.3 (Android) connection remain fine.
All of my tests are on a local subnet with IPv4 and IPv6 available.
In my system I use a nonstandard port address for my connections that I specify under Advanced/Addresses when editing the remote device panel on the client. And the remote device specifies "tcp://host:port, quic://host:port" for the listen addresses. I don't use any NAT Traversal, Global Discovery, Local Discovery or Relay options (all four options unchecked). I support remote connections with a public domain address, DDNS and port forwards and/or firewall rules.
I can make it work in two ways:
Enable Local Discovery on both the client (V2) and server machine, and setting the server address to dynamic in the client machine.
Enable Local Discovery on both the client (V2) and server machine, and setting the server address to "tcp://host:port, quic://host:port, tcp://public-host:port, quic://public-host:port".
Interestingly, with method (2), I still get a local area network connection from the client to the server.
Please advise and/or let me know what additional information you need.
Last seen | 2025-08-14 01:28:20
-- | --
Out of Sync (99%)
1 items, ~1.42 KiB
tcp://raven:995no such host (01:46:57)quic://raven:995no such host (01:46:57)
Metadata Only
DEVICE
username
Last seen
2025-08-14 01:28:20
Sync Status Out of Sync (99%)
Out of Sync Items [1 items, ~1.42 KiB](http://127.0.0.1:8384/)
Address tcp://raven:995
no such host (01:46:57)
quic://raven:995
no such host (01:46:57)
Compression Metadata Only
Identification [DEVICE](http://127.0.0.1:8384/)
Folders foldername
That's a DNS error. It's quite possible that the compilation changes in 2.0 makes the Go DNS resolver work differently than it did previously, though I don't know what this means for Windows. I'd make sure that DNS works as you expect, and maybe qualify that name with a domain
I added the netgo build tag as part of the SQLite PR, which will cause Go to use the internal resolver rather than the system one. Currently, I don't remember why that was necessary. Checking to see if it really is, or if it was part of some experimentation around static compilation that ended up not required...
Activity
calmh commentedon Aug 14, 2025
Show actual, full, errors please.
KarlM256 commentedon Aug 14, 2025
Log Entries
2025-08-14 01:28:20 INF Exiting (log.pkg=syncthing)
2025-08-14 01:30:11 INF syncthing v2.0.0 "Hafnium Hornet" (go1.24.6 windows-amd64) [email protected] 2025-08-11 20:16:10 UTC (log.pkg=main)
2025-08-14 01:30:11 INF Calculated our device ID (device= log.pkg=syncthing)
2025-08-14 01:30:11 INF Measured hashing performance (perf="171.92 MB/s" log.pkg=syncthing)
2025-08-14 01:30:11 INF Overall rate limit in use (send="is unlimited" recv="is unlimited" log.pkg=connections)
2025-08-14 01:30:11 INF GUI and API listening (address=127.0.0.1:8384 log.pkg=api)
2025-08-14 01:30:11 INF Access the GUI via the following URL: http://127.0.0.1:8384/ (log.pkg=api)
2025-08-14 01:30:11 INF Loaded configuration (name=HOST log.pkg=syncthing)
2025-08-14 01:30:11 INF Loaded peer device configuration (device=DEVICE name=Raven address="[tcp://raven:995 quic://raven:995]" log.pkg=syncthing)
2025-08-14 01:30:11 INF Ready to synchronize (folder.id=foldername folder.type=sendreceive log.pkg=model)
2025-08-14 01:30:11 INF Folder changed state (folder=foldername state=scan-waiting log.pkg=model)
2025-08-14 01:30:11 INF Folder changed state (folder=foldername state=scanning log.pkg=model)
2025-08-14 01:30:27 INF Folder changed state (folder=foldername state=idle log.pkg=model)
2025-08-14 01:30:27 INF Competed initial scan (folder.id=foldername folder.type=sendreceive log.pkg=model)
2025-08-14 01:30:34 INF Exiting (log.pkg=syncthing)
Remote Device Panel
Last seen | 2025-08-14 01:28:20 -- | -- Out of Sync (99%) 1 items, ~1.42 KiB tcp://raven:995no such host (01:46:57)quic://raven:995no such host (01:46:57) Metadata Only DEVICE username Last seen 2025-08-14 01:28:20 Sync Status Out of Sync (99%) Out of Sync Items [1 items, ~1.42 KiB](http://127.0.0.1:8384/) Address tcp://raven:995 no such host (01:46:57) quic://raven:995 no such host (01:46:57) Compression Metadata Only Identification [DEVICE](http://127.0.0.1:8384/) Folders foldernameKarlM256 commentedon Aug 14, 2025
I didn't intend to mark this as closed.
calmh commentedon Aug 14, 2025
That's a DNS error. It's quite possible that the compilation changes in 2.0 makes the Go DNS resolver work differently than it did previously, though I don't know what this means for Windows. I'd make sure that DNS works as you expect, and maybe qualify that name with a domain
calmh commentedon Aug 14, 2025
I added the
netgobuild tag as part of the SQLite PR, which will cause Go to use the internal resolver rather than the system one. Currently, I don't remember why that was necessary. Checking to see if it really is, or if it was part of some experimentation around static compilation that ended up not required...calmh commentedon Aug 14, 2025
You can see if this build helps: https://cdn.kastelo.net/tfi/syncthing-windows-amd64-v2-0-2-dev-1-gfc8b9ff4-buildcgo.zip
build: remove netgo and osusergo build tags (fixes #10251) (#10256)
chore(deps): update syncthing/syncthing docker tag to v2 (#2048)
Merge branch 'main' into infrastructure