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

jaysukh maghodiya

New Member
Apr 12, 2019
1
0
1
34
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: 50
  • error 401.PNG
    error 401.PNG
    11.2 KB · Views: 41