Teamviewer download url broken?

Trying to build latest nixos 24.05, but teamviewer might have changed its download urls?

curl: (6) Could not resolve host: dl.tvcdn.de                                  
error: cannot download teamviewer_15.54.3_amd64.deb from any mirror
error: builder for '/nix/store/wh866xf312qdlii22b0xwzsvykd6qhg7-teamviewer_15.54.3_amd64.deb.drv' failed with exit code 1

Indeed, that url doesn’t work (anymore?): https://dl.tvcdn.de/

No issues on nixpkgs, no posts here, nowhere. Really noone else having this problem?

(Yes, Teamviewer is bad, that’s another discussion)

To reproduce:

> NIXPKGS_ALLOW_UNFREE=1 nix-shell --option build-use-substitutes false -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-24.05.tar.gz -p teamviewer
these 2 derivations will be built:
  /nix/store/wh866xf312qdlii22b0xwzsvykd6qhg7-teamviewer_15.54.3_amd64.deb.drv
  /nix/store/fxby1zgjs2k0sdwygfcmfmalmjs64w1d-teamviewer-15.54.3.drv
building '/nix/store/wh866xf312qdlii22b0xwzsvykd6qhg7-teamviewer_15.54.3_amd64.deb.drv'...

trying https://dl.tvcdn.de/download/linux/version_15x/teamviewer_15.54.3_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
error: cannot download teamviewer_15.54.3_amd64.deb from any mirror
error: builder for '/nix/store/wh866xf312qdlii22b0xwzsvykd6qhg7-teamviewer_15.54.3_amd64.deb.drv' failed with exit code 1;
       last 12 log lines:
       >
       > trying https://dl.tvcdn.de/download/linux/version_15x/teamviewer_15.54.3_amd64.deb
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
       > Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
       > Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
       > Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.tvcdn.de
       > error: cannot download teamviewer_15.54.3_amd64.deb from any mirror
       For full logs, run 'nix log /nix/store/wh866xf312qdlii22b0xwzsvykd6qhg7-teamviewer_15.54.3_amd64.deb.drv'.
error: 1 dependencies of derivation '/nix/store/fxby1zgjs2k0sdwygfcmfmalmjs64w1d-teamviewer-15.54.3.drv' failed to build

The host appears down on my end too. Looks like it’s TeamViewer’s own domain (tv=team viewer) though, so they likely either changed the download link to somewhere else or removed it entirely.

You’re likely going to have to find a mirror.

Amazing, and the Internet Archive is down right now :upside_down_face:

UPDATE: Oh wow, the Internet Archive was hacked and DDoS’ed…

Okay, just need to change dl.tvcdn.de to dl.teamviewer.com:

diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix
index edebb6859193..c88f380961de 100644
--- a/pkgs/applications/networking/remote/teamviewer/default.nix
+++ b/pkgs/applications/networking/remote/teamviewer/default.nix
@@ -30,7 +30,7 @@ mkDerivation rec {
 
   src =
     let
-       base_url = "https://dl.tvcdn.de/download/linux/version_${lib.versions.major version}x";
+       base_url = "https://dl.teamviewer.com/download/linux/version_${lib.versions.major version}x";
     in
       {
        x86_64-linux = fetchurl {

Please send a patch :slight_smile:

Done teamviewer: Update download url by nobodyinperson · Pull Request #347744 · NixOS/nixpkgs · GitHub

1 Like