project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

Unauthorized when adding new cluster

Open ry-ops opened this issue 9 months ago • 5 comments

Fresh install via deploy.sh, credentials verified working via curl, but UI returns "Unauthorized" when adding cluster with both password and API token auth.

ry-ops avatar Feb 22 '26 02:02 ry-ops

Hi @ry-ops ,

could you please check if you have the right permissions and if your port is 8006? https://docs.pegaprox.com/#proxmox-permissions

Regards, Marcus

mkellermann97 avatar Feb 22 '26 10:02 mkellermann97

Hi Marcus.

Thanks for the quick response!

Yes, confirmed on both fronts: ∙ Using the default root@pam user with LPAM ∙ Port is set to 8006

What’s puzzling is that credentials are verified working via direct curl against the Proxmox API — I’m getting valid responses back — but the UI still returns “Unauthorized” when adding the cluster regardless of whether I use password or API token auth.

Happy to pull logs or share any debug output if that helps narrow it down. Is there a specific log path or verbose mode in PegaProx

I should be looking at?

Thanks, Ryan

ry-ops avatar Feb 22 '26 12:02 ry-ops

Hi @ry-ops , Thanks for the quick update! It would be great if you could start PegaProx in debug mode to help us investigate. Unfortunately, this is a manual step:

SSH into your VM Run systemctl stop pegaprox Navigate to the installation folder: cd /opt/pegaprox Run pegaprox_multi_cluster.py --debug

Then go to the UI and try adding your Proxmox Cluster again – the debug output should tell us why it's failing. Also, feel free to send us a support bundle at [email protected] so we can also investigate here.

Regards, Marcus

mkellermann97 avatar Feb 22 '26 14:02 mkellermann97

Thanks for the insight Marcus. It ended up being a VLAN issue. It's up and working. I appreciate the support.

ry-ops avatar Feb 23 '26 11:02 ry-ops

Hi @ry-ops , Great to hear it's working now! VLAN issues can be tricky to track down. And thanks again for all the PRs – really appreciate your contributions!

Regards, Marcus

mkellermann97 avatar Feb 23 '26 22:02 mkellermann97