mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[GH-ISSUE #19] Get VNC Ticket #16
Labels
No labels
enhancement
needs investigation
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-php#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Snakzi on GitHub (Jul 13, 2022).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/19
What happened?
Hello,
how do you get a ticket?
is giving me status code 200, but the data block is empty.
Best regards
Expected behavior
Giving me a ticket instead of empty response in data block
Relevant log output
No response
PHP Version
8.4
Proxmox VE Version
5.4
Version (bug)
latest
Version (working)
No response
On what operating system are you experiencing the issue?
Mac OSX
Pull Request
@franklupo commented on GitHub (Jul 13, 2022):
Hi,
this code retrieve ticket for login not for vnc.
best regards
@Snakzi commented on GitHub (Jul 13, 2022):
How do I retrieve the ticket for VNC?
@franklupo commented on GitHub (Sep 13, 2022):
For open VNC:
@franklupo commented on GitHub (Oct 30, 2022):
News?
@HugoMskn commented on GitHub (Jan 15, 2024):
Could you provide with code ? I tried
$client->get('/access/ticket')->getResponse();$client->get('/access/ticket')But none is returning the ticket for the novnc thing
@franklupo commented on GitHub (Jan 15, 2024):
the mechanism is different for VNC you need to call:
@HugoMskn commented on GitHub (Jan 19, 2024):
Tried it with the following code :
$client->get('/nodes/pve/qemu/100/vncproxy'); echo '<iframe src="https://192.168.1.2:8006/?console=kvm&vmid=100&vmname=Win7&node=pve&resize=scale&novnc=1" </iframe>';But the Iframe just return a 401 error "no ticket"