proxmox vncwebsocket

Discussion in 'Proxmox VE: Installation and configuration' started by liuzezhong, May 18, 2018.

  1. liuzezhong

    liuzezhong New Member

    Joined:
    May 18, 2018
    Messages:
    1
    Likes Received:
    0
    I had some problems with proxmox.

    Please help me.

    I tried to connect to VNC using the proxmox API (local, not using the console in the proxmox web panel) through noVNC.

    I send POST requests to/api2 / json/nodes / {node} / qemu / {vmid} / vncproxy to get vncticket and port.
    Then, I pass the vncticket and give the port GET/api2 / json/nodes / {node} / qemu / {vmid} / vncwebsocketbut instead of websocket, which always returns null. {" data ": null}.

    And the HTTP status is the 401 permissions denied - invalid PVEVNC ticket.

    I can't find any mistakes.

    I follow the steps above and use the root account.

    Proxmox 5.1

    upload_2018-5-18_23-18-5.png
     
    #1 liuzezhong, May 18, 2018
    Last edited: May 18, 2018
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    2,613
    Likes Received:
    239
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Christian Jacibsen

    Christian Jacibsen New Member

    Joined:
    Dec 16, 2015
    Messages:
    3
    Likes Received:
    0
    I was trying the same and notice that vncticket have to be url encoded to work properly.

    In my case, i receive HTTP 101 response, which is correct, but noVNC asks me for authentication. I'm trying to figure out which password is it.
    All the help is welcome.
    Mozilla Firefox_192.png
    Mozilla Firefox_195.png
     
  4. Christian Jacibsen

    Christian Jacibsen New Member

    Joined:
    Dec 16, 2015
    Messages:
    3
    Likes Received:
    0
    Well, answering my own question:
    The password needed is the vncticket.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice