401 Unauthorized but key is valid?

Jan 12, 2015
Anyone know where to look for this problem? It was happening on two hosts I recently upgraded to 5.2. Today it seems only one. 3rd party subscription vendor says it might be permissions on /etc/pve but I am running the update as root from the shell and have read access to everything under there.

# pvesubscription get | egrep '(key|status)'
key: pve2c-xxxxxxxxx
status: Active

# aptitude update
Ign http://ftp.us.debian.org/debian stretch InRelease
Hit http://security.debian.org stretch/updates InRelease
Hit http://ftp.us.debian.org/debian stretch-updates InRelease
Hit http://ftp.us.debian.org/debian stretch Release
Ign https://enterprise.proxmox.com/debian/pve stretch InRelease
Err https://enterprise.proxmox.com/debian/pve stretch Release
401 Unauthorized
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does no longer have a Release file.
E: Failed to download some files
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/stretch/Release: 401 Unauthorized
E: Some index files failed to download. They have been ignored, or old ones used instead.


The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!