Facing issue with proxmox noVNC (API), Error 401 no ticket

jaysukh maghodiya

New Member
Apr 12, 2019
1
0
1
33
Hello

I am new to proxmox,
I'm trying to run noVNC using php. I authenticate Using API_URL/access/ticket and set ticket to cookie "PVEAuthCookie", see attachment

I have tried to connect in the following way

domain:8006/?console=kvm&novnc=1&vmid=100&vmname=name&node=namenode


The error shown is "Error 401: No ticket"

It's work when I have logged in to the web of the proxmox service, and I tried to set cookie with domain of the proxmox, but i Can't set due to browser security.

Please help me to figure out this problem.

Thank you.
 

Attachments

  • cookie_set.png
    cookie_set.png
    49.9 KB · Views: 48
  • error 401.PNG
    error 401.PNG
    11.2 KB · Views: 39

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!