Skip to content

Connectivity issue from Syncthing V2 (2.0.0) to V1 (1.30.0) #10251

Closed

Description

@KarlM256

What happened?

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:

  1. Enable Local Discovery on both the client (V2) and server machine, and setting the server address to dynamic in the client machine.

  2. 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.

Thanks.

Syncthing version

V2.0.0 and V1.30.0

Platform & operating system

Windows 10 client, Windows 11 server

Browser version

Edge

Relevant log output

Activity

  1. added theissue type on Aug 14, 2025
  2. added
    bug
    needs-triage
    on Aug 14, 2025
  3. calmh commented on Aug 14, 2025

    @calmh
    Member

    Show actual, full, errors please.

  4. KarlM256 commented on Aug 14, 2025

    @KarlM256
    Author

    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 foldername
  5. KarlM256 commented on Aug 14, 2025

    @KarlM256
    Author

    I didn't intend to mark this as closed.

  6. calmh commented on Aug 14, 2025

    @calmh
    Member

    tcp://raven:995 no such host

    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

  7. calmh commented on Aug 14, 2025

    @calmh
    Member

    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...

  8. added a commit that references this issue on Aug 14, 2025
    ffb3039
  9. added this to the v2.0.2 milestone on Aug 16, 2025
  10. added a commit that references this issue on Aug 24, 2025
    0c93469
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions