mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #410] NoVNC Proxy in Docker #254
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#254
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 @mchlrv on GitHub (Jan 30, 2021).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/410
I'm running webvirtcloud in Docker and use Apache to proxy pass traffic to webvirtcloud in docker.
Everything seems to work when using non SSL (http). However when I'm trying to use SSL (https) everything seems to work except NoVNC.
I'm not sure what I forget or do wrong as this works for non SSL. Any suggestions?
My Apache proxy part looks as follow:
My webvirtcloud settings look like:
When trying to connect to NoVNC and looking a the developer console the following error appears:
@mchlrv commented on GitHub (Dec 21, 2022):
This week I gave it another try after updating to the latest version. After some fiddling around I finally got it working. A bit more / better documentation would be helpful (this applies to multiple topics). Hopefully my results will help others with similar problems.
Webvirtcloud runs in docker and I'm using Apache as a reverse proxy. Below my Apache reverse proxy and websocket config.
In
settings.pyI have configured below config for the websocket. Since I'm using SSL I've configured theWS_PUBLIC_PORTto use port 443. I also had to configureWS_PUBLIC_HOSTwhich is the url through which Webvirtcoud is reachable.Once this is all in place there is one more important step it take and that is to open up the firewall on the server running KVM. You need to open the VNC ports configured for the VM's otherwise NoVNCd can not connect.