Sorry for the late reply but thanks for mentioning @dcsapak. I injected the cookie into the websocket connection and now everything works just fine. It seems like I forgot to set the CORS attributes for the PVEAuthCookie so it wasn't set correctly and therefor not passed to the websocket. Please...
Having about the same problem here. I get a session from the endpoint:
'/nodes/' . $master->node . '/qemu/' . $server->vmid . '/vncproxy'
Afterwards I open the websocket hitting the following endpoint:
'/nodes/' . $master->node . '/qemu/' . $server->vmid . '/vncwebsocket'
Seems to work like a...
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.