-
Notifications
You must be signed in to change notification settings - Fork 374
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
Hardcoded websocket path when using noVNC full version #440
Comments
The issue is caused by 43f1461 |
@catborise @retspen The template got removed from the commit above. Is it intentional? |
I dont think it is intentional change, may be it is missed. We could change it, if it is useful. |
I think it's useful as it's more convenient. |
@catborise Any update on this? |
@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. |
Nope. I fixed it on my side by reverting partial changes (console-vnc-full.html) of 43f1461 |
@wongsyrone i change it. but i cannot test it(my test shows no effect). if it is working fine... |
24cd3f7 looks good to me. |
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.
|
I have to change ws_path everytime when I want to use noVNC full variant.
Hardcoded here:
webvirtcloud/console/templates/console-vnc-full.html
Lines 221 to 222 in a20fa8e
The lite version works because:
webvirtcloud/console/templates/console-vnc-lite.html
Lines 177 to 178 in a20fa8e
get data from:
webvirtcloud/console/views.py
Lines 74 to 87 in a20fa8e
The text was updated successfully, but these errors were encountered: