We try to avoid getting csrf token because of the lack of api token support. We wanted to get a script to run on the lxc without the need of ssh and tried to make use of the API websocket implementation. We've come up with following code:
import requests
import threading
from time import sleep...
PVE 8.2.4 , nginx 1.26.0, apache2 2.4.62
I create a CT with IP 10.0.0.103/24, and I install nginx for proxy
Cp noVnc 1.4.0 to nginx path /mnt/dist/static/novnc
Visit https://10.0.0.103/staic/novnc/vnc.html
Post vncproxy Api and get port and ticket
Get encodeURIComponent(ticket)
try connect with...
Hello i have a web app and i can't pass this issue
My Proxmox mngt is on 10.10.0.15:8006
```
const handleManageVM = async (vmid, node) => {
try {
const authTokens = {
token: account.token,
pveToken: account.pve_token...
Hi,
I have followed https://forum.proxmox.com/threads/how-to-set-up-novnc-on-a-web-application.123701/ to implement noVNC console some time ago. Everything is working but:
1) in PVE I have noticed two same /vncproxy calls where the first one has connection timeout and second is connected,
2) I...
Hello everyone,
I have a question regarding the use of API tokens in Proxmox. I am trying to use the vncwebsocket API route via an API token, but I keep receiving an 401 error message stating "invalid authentication - 401 authentication failure"
Task log:
client connection: 127.0.0.1:50252...
Hi all
Been butting my head against the wall for the last few days over this issue. I was hoping if maybe someone has had the same and found a solution
Summery:
1) We are using the API (tokens only, no cookies) to get the vnc credentials using the vncproxy endpoint with the added flag of...
Hello,
I am currently using Nginx to embed a console onto an external webpage. To accomplish this, I am proxying the content to the Proxmox host. Please refer to the Nginx configuration below:
Nginx configuration:
server {
listen 80 default_server;
listen [::]:80 default_server...
Hello,
I'm trying to make a Proxmox interface website for a school project, I have to give access to VMs and visualize them, handle permissions from my own interface... Here are the constraints :
I've to use PHP 8 and Symfony 6 for the server side.
The client should never have access to the...
Hello,
I have 3 nodes (alpha, beta, gamma) that I am trying to access via a reverse-proxy with a balancer, the idea being that if one node goes down, the balancer will select another node automatically. I am using apache2 as the reverse proxy.
I got the web-interface working, but when using the...
Hello
What I need to do, is basically autofill (or make the password not required) when getting the novnc console via websockets)
The setup is:
Browser- nodejs proxy - proxmox
In the browser I can't really do anything with it, because it's required before the pages render, and the vnc-ticket...
Hello
Reading through the API call I can successfuly make request to the following endpoints:
post - api2/json/access/ticket
post - api2/json/nodes/node/lxc/vmid/vncproxy
get api2/json/nodes/node/lxc/vmid/vncwebsocket
From these (besides other things) I have the pvevnc-ticket, the websocket...
Hello,
i have searched for a long time, but have not found an answer for this problem.
The goal is to include a noVNC instance on a website where the virtual machines can be controlled. However, the Proxmox server should not be accessible from the outside, but only the page with the novnc...
I am attempting to host a xtermjs terminal on another webserver.
When using xtermjs library and javascript websocket the connection fails.
import { Terminal } from 'xterm';
import { AttachAddon } from 'xterm-addon-attach';
const user = "root@pam";
const ticket =...
Hey guys :),
I am currently trying to embed a console into a website.
from what I read to this point the way to do it is :
- vncticket = ticket from previous request ; port = port from previous request
The first part works just fine.(I get a ticket in following format : PVEVNC:xxxxxxxx==)...
Guten Tag,
ich bin mittlerweile mit meinen nerven am Ende. Ich versuche gerade über meinen WebServer eine VNC Verbindung zum Proxmox Server aufzubauen. Steuerungen wie neustarten und stoppen von VMs mittels der Api funktioniert. Allerdings das einbinden der VNC geht nicht. Aber ich verstehe...
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...
Hi all,
I hope somebody can help me. i have some problems with my NGINX Proxy and the VNC Console in Proxmox. i can use the vnc console on every machine no problem, but i can type some times and after a few seconds ( 20 -25 sec.) the console hangs! i can type nothing more, if i switch to...
I get downloaded the latest kanaka NoVNC and there's Host, Port, Password & Token fields in noVNC to connect a VNC server.
so i did run commands to vncproxy generating ticket,cert, ...
and vncwebsocket with vncproxy as argument and the answer from server is clear:
post vncproxy:
Array
(...
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.