Failed to fetch https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu/dists/focal/InRelease 402 Payment Required
jbergman-apiture opened this issue ยท 4 comments
SUMMARY
When updating my StackStorm server I am met with this error.
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Ign:4 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Hit:5 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release
Hit:7 https://deb.nodesource.com/node_14.x focal InRelease
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Err:9 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease
402 Payment Required [IP: 18.161.6.57 443]
Hit:10 http://nginx.org/packages/ubuntu focal InRelease
Hit:6 https://packagecloud.io/StackStorm/stable/ubuntu focal InRelease
Err:11 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease
402 Payment Required [IP: 18.161.6.57 443]
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [468 kB]
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2333 kB]
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [25.9 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [572 B]
Get:17 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [548 B]
Reading package lists... Done
E: Failed to fetch https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu/dists/focal/InRelease 402 Payment Required [IP: 18.161.6.57 443]
E: The repository 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease' is no longer
signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu/dists/focal/InRelease 402 Payment Required [IP: 18.161.6.57 443]
E: The repository 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
STACKSTORM VERSION
st2 3.8.0, on Python 3.8.10
OS, environment, install method
Ubuntu 20.04 Ansible install on AWS EC2
Steps to reproduce the problem
Run sudo apt update
Expected Results
All updates completed and system updated.
Actual Results
The error above relating to rabbitMQ upstream issue.
Possible related issue: rabbitmq/rabbitmq-server#8064
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
i have the same error but while building the rabbitmq issue for kayobe/kolla (Openstack)
seems like a problem with the hoster that hosts the files for rabbitmq... i am heading over there
edit: ah yeah, very likely related to the rabbitmq-server issue
Was anything updated here? I updated my server today and it was successful.
That might be indeed temporary with the upstream RabbitMQ servers at Cloudsmith which provides FOSS hosting for the packages.
Please bump this thread if anyone experienced this issue again.
If problem reoccurs again, - alternative would be switching RabbitMQ and Erlang to the PackageCloud mirror:
For future reference, source code where CloudSmith repositories are added:
- bash installer: https://github.com/StackStorm/st2-packages/blob/beb47595f0d0e90b141b15e51863c2e7af719baa/scripts/st2bootstrap-deb.sh#L451-L454
- Ansible: https://github.com/StackStorm/ansible-st2/blob/222ee03e66a842a9d47322662ba89f3d5457eab9/roles/StackStorm.rabbitmq/tasks/rabbitmq_debian.yml#L40-L74
- Docs: https://docs.stackstorm.com/install/index.html