error listing snapshots - 400 Bad Request (500)

lilodude

New Member
Dec 30, 2022
5
1
1
Hello,

I recently had to reinstall my PVE and I am trying to restore my vm's and ct's. I've had the proxmox backup server connected to my PVE previously with no issues. However, after a fresh PVE install, I am getting the following error when attempting to access my backups:

PVE error:
error listing snapshots - 400 Bad Request (500)

PBS syslog:
Sep 11 12:59:27 pbs proxmox-backup-proxy[574]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root%40pam: 400 Bad Request: [client [::ffff:192.168.1.51]:34930] parameter verification failed - 'ns': value does not match the regex pattern
why does it seem like the backup server is being accessed over IPv6?

I'm able to ping the backup server from the PVE

I've updated both the PVE and PBS but I'm still getting this error. HELP please!
 

Attachments

  • CleanShot 2024-09-11 at 11.50.13.png
    CleanShot 2024-09-11 at 11.50.13.png
    8.6 KB · Views: 3
Last edited:
here is the pbs proxy status:

Code:
root@pbs:~# systemctl status proxmox-backup-proxy
● proxmox-backup-proxy.service - Proxmox Backup API Proxy Server
     Loaded: loaded (/lib/systemd/system/proxmox-backup-proxy.service; enabled; preset: enabled)
     Active: active (running) since Wed 2024-09-11 18:17:59 PDT; 1min 30s ago
   Main PID: 947 (proxmox-backup-)
      Tasks: 12 (limit: 4619)
     Memory: 9.9M
        CPU: 561ms
     CGroup: /system.slice/proxmox-backup-proxy.service
             └─947 /usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy

Sep 11 18:17:59 pbs systemd[1]: Started proxmox-backup-proxy.service - Proxmox Backup API Proxy Server.
Sep 11 18:17:59 pbs proxmox-backup-proxy[947]: applied rrd journal (1802 entries in 0.022 seconds)
Sep 11 18:17:59 pbs proxmox-backup-proxy[947]: write rrd data back to disk
Sep 11 18:17:59 pbs proxmox-backup-proxy[947]: starting rrd data sync
Sep 11 18:17:59 pbs proxmox-backup-proxy[947]: rrd journal successfully committed (25 files in 0.018 seconds)
Sep 11 18:18:25 pbs proxmox-backup-proxy[947]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root: 400 Bad Request: [client [::ffff:192.168.1.51]:54090] E>
Sep 11 18:18:26 pbs proxmox-backup-proxy[947]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root: 400 Bad Request: [client [::ffff:192.168.1.51]:54112] E>
Sep 11 18:18:29 pbs proxmox-backup-proxy[947]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root: 400 Bad Request: [client [::ffff:192.168.1.51]:54160] E>
Sep 11 18:18:31 pbs proxmox-backup-proxy[947]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root: 400 Bad Request: [client [::ffff:192.168.1.51]:39628] E>
Sep 11 18:18:45 pbs proxmox-backup-proxy[947]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root: 400 Bad Request: [client [::ffff:192.168.1.51]:40448] E>
lines 1-20/20 (END)
 
Hi,
PBS syslog:
Sep 11 12:59:27 pbs proxmox-backup-proxy[574]: GET /api2/json/admin/datastore/proxmoxbackup/snapshots?ns=root%40pam: 400 Bad Request: [client [::ffff:192.168.1.51]:34930] parameter verification failed - 'ns': value does not match the regex pattern
please share the storage configuration /etc/pve/storage.cfg on Proxmox VE. It seems the request uses the value root@pam for the namespace (ns) parameter, so likely a misconfiguration.
 
Hi,

please share the storage configuration /etc/pve/storage.cfg on Proxmox VE. It seems the request uses the value root@pam for the namespace (ns) parameter, so likely a misconfiguration.
Thanks for your help, here it is:

Bash:
root@pve1:~# cd /etc/pve/
root@pve1:/etc/pve# ls
authkey.pub     ha     mapping  priv             qemu-server  user.cfg
datacenter.cfg  local  nodes    pve-root-ca.pem  sdn          virtual-guest
firewall        lxc    openvz   pve-www.key      storage.cfg  vzdump.cron
root@pve1:/etc/pve# cat storage.cfg
dir: local
        path /var/lib/vz
        content vztmpl,iso,backup

lvmthin: local-lvm
        thinpool data
        vgname pve
        content images,rootdir

pbs: proxmoxbackup
        datastore proxmoxbackup
        server 192.168.1.223
        content backup
        fingerprint 0f:2a:06:80:ae:d2:7e:3e:15:07:0c:43:da:0a:42:b***************(obfuscated)**************************
        namespace root
        prune-backups keep-all=1
        username root@pam

root@pve1:/etc/pve#
 
Last edited:

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!