Closed kvaps closed 3 years ago
Also please consider adding delete-this-file=1
for .vv files, as they should contain one-time access token, usually there is no sense to preserve them for longer time.
Thank you!
@tinova PR to be approved (adding delete-this-file):
@kvaps noVNC acts as the virt-viewer proxy. You need to ensure that you can reach port 29876 and that this port is correctly redirected to the noVNC proxy. No need to give access to the individual hypervisors. Closing until additional details are provided to reproduce the problem.
@kvaps noVNC acts as the virt-viewer proxy
@FrederickBor are you really sure about that fact? I'm trying to connect using remove-viewer and seeing the same picture:
Client is sending CONNECT method to the server, but websockify respond 501 Unsupported method ('CONNECT')
I checked novnc/websockify project and have not found any information about ability to work with remote-viewer as a proxy server.
The remote-viewer documentation says:
At the time of writing this documentation, the only supported proxy method with Spice is HTTP CONNECT.
@kvaps Thanks for the feedback, we will take a look
Hi @kvaps,
We just checked all the configurations and saw that you are right. Spice connections with .vv files are not compatible with the actual implementation.
However, I was able to establish a connection with spice with the HTML5 console with sunstone, so we offer you this option as a workaround.
See the novnc.log attached, where you can find the connections established and the picture of the HTML5 client working.
We will keep this ticket open to implement this feature for future releases. We've updated the documentation to state the limitation meanwhile
@tinova PRs to be approved:
Description After adding native remote-viewer support https://github.com/OpenNebula/one/issues/1262, I trying to connect using remote-viewer.
My virt-viewer file looks like:
client debug log:
novnc server log:
To Reproduce
Expected behavior Connection successfully established
Details
Additional context Obliviously remote-viewer expecting squid proxy https://www.spice-space.org/spice-proxy.html I don't see any changes for novnc server which would allow it to act as a spice-proxy server 🤷
Progress Status