Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VNC #18

Open
Nevercold opened this issue Dec 14, 2021 · 7 comments
Open

VNC #18

Nevercold opened this issue Dec 14, 2021 · 7 comments

Comments

@Nevercold
Copy link

Nevercold commented Dec 14, 2021

Hey!

this has only indirectly something to do with this, but maybe you know something about it.
We are currently trying our hand at VNC, but unfortunately it is not working properly.

The VNC page takes a long time to load.

This is the code:

$domain = "EXAMPLE_DOMAIN_TO_HOST.de"

$responseProxy = $proxmox->getNodes()->get($host_name)->getQemu()->get($external_id)->getVncproxy()->vncproxy(true, true)->getResponse();
    
$port = $responseProxy['data']['port'];
$ticket = $responseProxy['data']['ticket'];
$user = $responseProxy['data']['user']; 
$password = $responseProxy['data']['password'];
    
$response = $proxmox->getNodes()->get($host_name)->getQemu()->get($external_id)->getVncwebsocket()->vncwebsocket($port, $ticket)->getResponse();


$url = "https://vnc.EXAMPLE.com?host=$domain."&port=".$port."&novnc=1&vmname=".$external_name."&vmid=".$external_id."&node=".$host_name."&user=".$user."&password=".$password;

Do you know anything about that?

@Nevercold
Copy link
Author

image

@Snakzi
Copy link

Snakzi commented Jul 13, 2022

Have you ever found a solution for this?

@Nevercold
Copy link
Author

Have you ever found a solution for this?

Unfortunately no.

We currently still solve it via the proxmox cookie method.

@Snakzi
Copy link

Snakzi commented Jul 14, 2022

How exactly did you make it to work if I may ask? I can't get it to work since I cannot set the cookie for another site.

@Nevercold
Copy link
Author

we just added a 2nd domain in proxmox which is the same as the site

@Nevercold
Copy link
Author

reopen, no final solution found.

@franklupo franklupo reopened this Sep 11, 2022
@franklupo
Copy link
Member

the problem is a webscoket redirec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants