Aborted, download verification failed

(david) #1

Hi all,

I’m trying to download Caddy using curl https://getcaddy.com | bash -s personal as I always did, but this time I got Downloading Caddy for linux/amd64 (personal license)... Aborted, download verification failed.

It’s running on a Amazon EC2 Tokyo instance, purely new installed Amazon Linux 2 AMI.

I’ve googled but found nothing helpful. What is wrong?

(Matt Holt) #2

Is that all the output? If you can paste the full command and its output so we can reproduce it, we can diagnose the problem.

(david) #3

Hi @matt, that’s basically all the output. More here:

[ec2-user@ip-x-x-x-x ~]$ sudo curl https://getcaddy.com | bash -s personal
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7380  100  7380    0     0  13692      0 --:--:-- --:--:-- --:--:-- 13666
Downloading Caddy for linux/amd64 (personal license)...
Aborted, download verification failed
[ec2-user@ip-x-x-x-x ~]$ 

I also had commanded it as directly root user, it produced the same result.

I really appreciate your help.

(david) #4

No update?

I had to install Caddy manually.

It’s not a big problem, but still inconvenient.

(Matthew Fay) #5

Still running into the issue? Worked fine for me just now.

whitestrake at ishtar in ~
→ curl https://getcaddy.com | bash -s personal
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7380  100  7380    0     0   7409      0 --:--:-- --:--:-- --:--:--  7402
Downloading Caddy for linux/amd64 (personal license)...
Download verification OK
Extracting...
Backing up /usr/local/bin/caddy to /usr/local/bin/caddy_old
(Password may be required.)
[sudo] password for whitestrake:
Putting caddy in /usr/local/bin (may require password)
Caddy v1.0.0-beta2 (h1:sG4ac7b3dlTdJG2Jb1q0NxFPDGz6kKA+VXM3QSgvhII=)
Successfully installed
(david) #6

@Whitestrake It worked fine on my other VPS too, just not working on AWS EC2. I should probably stop asking here.

(Matthew Fay) #7

That error message occurs specifically when download verification via gpg fails; might be a good place to start looking?