Failed to fetch https://apt.syncthing.dev

Hello I am having an issues with trying to install syncthing on my fresh install of debian 13.

I am using the instructions from apt.syncthing.net

After following all of the instructions and choosing to use the stable channel, then updating my sources with apt update and finally trying to install syncthing I get this error.

sudo apt install syncthing
Installing:                     
  syncthing

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 14.0 MB
  Space needed: 35.7 MB / 898 GB available

Ign:1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.10
Ign:1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.10
Ign:1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.10
Err:1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.10
  SSL connection failed: error:00000000:lib(0)::reason(0) / Connection reset by peer [IP: 172.67.220.56 443]

Error: Failed to fetch https://apt.syncthing.dev/pool/syncthing_2.0.10_amd64.deb  SSL connection failed: error:00000000:lib(0)::reason(0) / Connection reset by peer [IP: 172.67.220.56 443]

Error: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried all the trouble shooting steps on their page, and removed the cache from apt and updated the repos again and I would have the same issue. I even tried an older version that the repo had 2.0.9 despite 2.0.10 being the current. with the same issues.

Can someone please help me.

What does curl -v https://apt.syncthing.dev/dists/syncthing/InRelease output?

Ran it and received the followingcurl -v https://apt.syncthing.dev/dists/syncthing/InReleas

  • Host apt.syncthing.dev:443 was resolved.
  • IPv6: 2606:4700:130:436c:6f75:6466:6c61:7265
  • IPv4: 104.21.78.103, 172.67.220.56
  • Trying 104.21.78.103:443…
  • Connected to apt.syncthing.dev (104.21.78.103) port 443
  • ALPN: curl offers h2,http/1.1
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • CAfile: /etc/ssl/certs/ca-certificates.crt
  • CApath: /etc/ssl/certs
  • OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to apt.syncthing.dev:443
  • Closing connectioncurl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to apt.syncthing.dev:443

Yeah, no idea, sorry. Maybe some kind of localised cloudflare outage.

This is what I got:

curl -v https://apt.syncthing.dev/dists/syncthing/InRelease
* Host apt.syncthing.dev:443 was resolved.
* IPv6: 2606:4700:3033::6815:4e67, 2606:4700:3031::ac43:dc38
* IPv4: 104.21.78.103, 172.67.220.56
*   Trying [2606:4700:3033::6815:4e67]:443...
* Immediate connect fail for 2606:4700:3033::6815:4e67: Network is unreachable
*   Trying [2606:4700:3031::ac43:dc38]:443...
* Immediate connect fail for 2606:4700:3031::ac43:dc38: Network is unreachable
*   Trying 104.21.78.103:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* Recv failure: Connection reset by peer
* TLS connect error: error:00000000:lib(0)::reason(0)
* OpenSSL SSL_connect: Connection reset by peer in connection to apt.syncthing.dev:443 
* closing connection #0
curl: (35) Recv failure: Connection reset by peer

I ended up just using the Debian default.

Same issue here, except I have syncthing installed for years. I can’t get an update. When I try apt-get upgrade:

Ign : 1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.11
Ign : 1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.11
Ign : 1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.11
Err : 1 https://apt.syncthing.dev syncthing/stable-v2 amd64 syncthing amd64 2.0.11
  SSL connection failed: error:00000000:lib(0)::reason(0) / Connexion ré-initialisée par le correspondant [IP : 172.67.220.56 443]
E: Impossible de récupérer https://apt.syncthing.dev/pool/syncthing_2.0.11_amd64.deb  SSL connection failed: error:00000000:lib(0)::reason(0) / Connexion ré-initialisée par le correspondant [IP : 172.67.220.56 443]
E: Impossible de récupérer certaines archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing ?

Here is curl -v

$ curl -v https://apt.syncthing.dev/dists/syncthing/InRelease
* Host apt.syncthing.dev:443 was resolved.
* IPv6: 2606:4700:3033::6815:4e67, 2606:4700:3031::ac43:dc38
* IPv4: 172.67.220.56, 104.21.78.103
*   Trying [2606:4700:3033::6815:4e67]:443...
* Immediate connect fail for 2606:4700:3033::6815:4e67: Le réseau n'est pas accessible
*   Trying [2606:4700:3031::ac43:dc38]:443...
* Immediate connect fail for 2606:4700:3031::ac43:dc38: Le réseau n'est pas accessible
*   Trying 172.67.220.56:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* Recv failure: Connexion ré-initialisée par le correspondant
* TLS connect error: error:00000000:lib(0)::reason(0)
* OpenSSL SSL_connect: Connexion ré-initialisée par le correspondant in connection to apt.syncthing.dev:443 
* closing connection #0
curl: (35) Recv failure: Connexion ré-initialisée par le correspondant

Looks exactly the same…

Might be related

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.