mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 15:35:57 +03:00
[GH-ISSUE #636] console shows blank page #365
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#365
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 @Xzavier0722 on GitHub (Feb 14, 2024).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/636
What
Console webpage for any instance is blank(I tried on a windows server and Debian without desktop env) as the screenshot below:

I didn't find any error message on the webpage.
System environment
System Info:

KVM is QEMU with KVM, connected via local.
The WebVirtCloud is installed by installer. Proxy by Nginx with the config in
/srv/webvirtcloud/conf/nginx/webvirtcloud.confAll services seem working well:

Would anyone please help on this issue, thanks.
I didn't find noVNC log file, if any log or additional information is required please let me know.
@catborise commented on GitHub (Feb 14, 2024):
i think you are using spice for console. spice is deprecated by qemu/kvm + libvirt. can you please change console type spice to vnc, then try again.
@Xzavier0722 commented on GitHub (Feb 14, 2024):
Nope, I think it is vnc now..

@catborise commented on GitHub (Feb 14, 2024):
your screenshot shows default settings. but you must change instance settings.

do you access instances on remote host or localhost?
@Xzavier0722 commented on GitHub (Feb 14, 2024):
Oh yes, now the instance was using spice and I changed it to vnc. But after this I got an error message on the console page: 'Something went wrong, connection is closed'
And I'm accessing localhost
@catborise commented on GitHub (Feb 14, 2024):
after changing console spice to vnc, you must change also primary video model.(recommended one vga)

@Xzavier0722 commented on GitHub (Feb 14, 2024):
Set to VGA, but the error still. I paste the instance's xml config hope can be more clear:
@catborise commented on GitHub (Feb 14, 2024):
it seems there is not a problem with instance config. (to make verification you can use virt-viewer)
it can be webvirtcloud settings. i tested with debian12 with using "install.sh" there is not any problem with console. my settings.py config like that
@Xzavier0722 commented on GitHub (Feb 14, 2024):
Seems there is not much difference excepting I'm using reverse proxy so the public ports are 443..
settings.py:

Nginx config:

@catborise commented on GitHub (Feb 14, 2024):
Hımm you are using https then you must use certificate with console
https://github.com/retspen/webvirtcloud/issues/173
This issue explains how to use it
@Xzavier0722 commented on GitHub (Feb 15, 2024):
Just tried but issue still. And I think my case is different with the one you pointed out. In #173 the ssl is handled by the noVNC service itself (on 6080 port), but for mine the ssl is handled by Nginx so for noVNC service self is not using ssl..
Do we have anyway to enable more debug log to identify what happened? For now only this is printed out:
