Subscription verification fails

May 26, 2024
2
0
1
Hi,

I'm unable to add a license to my hosts. I'm running version 8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-2-pve) on a host with a private ip address in the range 10.0.0.0/8. I have an http proxy configured, and I can curl https://shop.proxmox.com from the command line using that proxy, but the pvesubscription command will not use the proxy and returns the message: "Error checking subscription: https://shop.proxmox.com/modules/servers/licensing/verify.php: Network Error: timed out reading response".

How do I make pvesubscription use the proxy?

Thanks!
 
Hello,
With a proxmox Cluster VE 8.2.2 I had exactly the same issue,

When I tried with the https interface, The error message is "Connection error - timeout"
When I tried to use pvesubscription in the shell the message is :
root@proxmox1:~# pvesubscription set pve2c-XXXXXXXXXXXXXXXXXXXX
Error checking subscription: https://shop.proxmox.com/modules/servers/licensing/verify.php: Network Error: timed out reading response

So, Proxmox must use proxy. (Proxy is defined in the shell environment /etc/profile.d/proxy.sh file)

Define env http_proxy ans https_proxy in the shell isn't sufficient.

Proxy must be defined in the portal https. in the Datacenter.
Datacenter / Options / HTTP proxy :


Best regards.
Jonas
 
Last edited:
What do you have in /etc/pve/datacenter.cfg ?

Proxy must be defined there for PVE to use it in things like apt or subscription checks. I have activated a few PVE8.2 systems last week using proxy without any issue.
 
  • Like
Reactions: rblocker

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!