Proxmox can't connect to non-sub repo, waiting for headers

maires1

New Member
Jan 27, 2025
4
0
1
Hello,
I've just set up proxmox on my old pc, however it refuses to connect to download.proxmox.com or any other mirror I try, I have tried running apt update numerous times, however it just hangs on "Waiting for headers". Commenting out the non-sub repo in my repo sources allows me to update debian packages, so I don't know if it's got anything to do with my networking and/or DNS, but pveam update does not work as well due to the bugged proxmox repo. I can ping download.proxmox.com as well, so I don't understand why I'm unable to download any packages from there on my server. I have disabled proxmox firewall, as i thought it could be something to do with that, but it hasn't solved the issue.

Please tell me if you require any more logs/information, and sorry for bad formatting.

Attempting to apt update
Code:
root@maires:~# apt update
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://security.debian.org/debian-security bookworm-security InRelease
Hit:3 https://deb.debian.org/debian bookworm-updates InRelease
Ign:4 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:4 http://download.proxmox.com/debian/pve bookworm InRelease
0% [Waiting for headers]

/var/log/pveam.log

Code:
2025-01-27 22:24:35 starting update
2025-01-27 22:24:35 start download http://download.proxmox.com/images/aplinfo-pve-8.dat.asc
2025-01-27 22:26:22 download failed: 500 Status read failed: Connection reset by peer
2025-01-27 22:26:22 update failed - no signature file '/var/lib/pve-manager/apl-info/pveam-download.proxmox.com.tmp.1452.asc'
2025-01-27 22:26:22 start download https://releases.turnkeylinux.org/pve/aplinfo.dat.asc
2025-01-27 22:26:22 download finished: 200 OK
2025-01-27 22:26:22 start download https://releases.turnkeylinux.org/pve/aplinfo.dat.gz
2025-01-27 22:26:22 download finished: 200 OK
2025-01-27 22:26:23 signature verification: gpgv: Signature made Wed Nov 20 07:20:35 2024 GMT
2025-01-27 22:26:23 signature verification: gpgv:                using RSA key 694CFF26795A29BAE07B4EB585C25E95A16EB94D
2025-01-27 22:26:23 signature verification: gpgv: Good signature from "Turnkey Linux Release Key <release@turnkeylinux.com>"
2025-01-27 22:26:23 update successful
 

Attachments

  • network.PNG
    network.PNG
    8.9 KB · Views: 3
  • dns.PNG
    dns.PNG
    2.7 KB · Views: 3
You need to buy a license for downloading this repo.
If you do not want to buy a licence, you have to change to non subscription repo.
 
Did you add the no-subscription repo via the webGUI? Or did you do it by hand?

It seems APT is missing the no-subscription part.
See: https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo

Edit:
I am asking this as APT should say:
http://download.proxmox.com/debian/pve bookworm pve-no-subscription

Yeah, im pretty sure it's okay, i've managed to narrow it down to the system being pretty much unable to connect to http sites, as having https debian sources works completely fine, but having the non-sub proxmox http source causes the "Waiting for headers" issue, this has happened on an Ubuntu Server CT as well, meaning that I was unable to update until I manually changed the source.list to https instead of http. Thing is, i've got no clue how to fix this as i'm no expert in networking at all.

For example, the command "curl -I http://ftp.debian.org/debian" causes the shell to hang as it can't connect properly, but doing "curl -I https://ftp.debian.org/debian" causes it to work fine?
 

Attachments

  • Capture.PNG
    Capture.PNG
    28.8 KB · Views: 6
Hello, please post the contents of your /etc/apt/sources.list and any files under the /etc/apt/sources.list.d/ directory.