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..
 

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!