mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 15:35:57 +03:00
[GH-ISSUE #440] Hardcoded websocket path when using noVNC full version #269
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#269
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 @wongsyrone on GitHub (May 26, 2021).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/440
I have to change ws_path everytime when I want to use noVNC full variant.
Hardcoded here:
github.com/retspen/webvirtcloud@a20fa8e8d7/console/templates/console-vnc-full.html (L221-L222)The lite version works because:
github.com/retspen/webvirtcloud@a20fa8e8d7/console/templates/console-vnc-lite.html (L177-L178)get data from:
github.com/retspen/webvirtcloud@a20fa8e8d7/console/views.py (L74-L87)@wongsyrone commented on GitHub (May 26, 2021):
The issue is caused by
github.com/retspen/webvirtcloud@43f1461e29@wongsyrone commented on GitHub (May 26, 2021):
@catborise @retspen The template got removed from the commit above. Is it intentional?
@catborise commented on GitHub (May 26, 2021):
I dont think it is intentional change, may be it is missed. We could change it, if it is useful.
@wongsyrone commented on GitHub (May 26, 2021):
I think it's useful as it's more convenient.
@wongsyrone commented on GitHub (May 29, 2021):
@catborise Any update on this?
@catborise commented on GitHub (May 31, 2021):
@wongsyrone it is initiated at different place. changing "websockify" does not affect. i think it is set in UI.js which is not reach ws_path value.
@wongsyrone commented on GitHub (May 31, 2021):
@catborise
Nope. I fixed it on my side by reverting partial changes (console-vnc-full.html) of
github.com/retspen/webvirtcloud@43f1461e29@catborise commented on GitHub (Jun 2, 2021):
@wongsyrone i change it. but i cannot test it(my test shows no effect). if it is working fine...
@wongsyrone commented on GitHub (Jun 2, 2021):
github.com/retspen/webvirtcloud@24cd3f70ddlooks good to me.@MisterBlueBear commented on GitHub (Aug 24, 2023):
I don't think this fix works at all. If I view the HTML source, I do see the correct HTML code, but in the console settings, it is still set to "websockify".
May I suggest just adding the location conf for "websockify" to /etc/nginx/conf.d/webvirtcloud.conf as a workaround. This fixes the issue.