How use vncproxy and vncwebsocket problem

maxou51100

New Member
Dec 10, 2020
1
0
1
37
Hi,

I have a problem with noVNC iframe.

HTML:
@php
       $params = 'api2/json/nodes/pve1/qemu/100/vncwebsocket/port/'. $config['port']. '/vncticket/'. urlencode($config['vncticket']);

        $path = 'https://proxmox.infra:8006/?console=kvm&novnc=1&vmid=100&node=pve1&resize=1&path=' . $params;

@endphp
<html lang="fr">
<head>
    <meta charset="utf-8">
    <link rel="shortcut icon" type="image/png" href="./public/images/favicon.png">
</head>
<body>
  <iframe  src="{!! $path !!}" frameborder="0" scrolling="no" width="100%" height="100%"></iframe>
</body>
</html>

I have error : Error 401 : No ticket

An idea ?

Thx
 
Last edited:
the connection to the proxmox interface must have the correct authcookie..