Skip to content
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

[source build] could not connect to spice or vnc #1323

Open
Hero9909 opened this issue May 13, 2020 · 5 comments
Open

[source build] could not connect to spice or vnc #1323

Hero9909 opened this issue May 13, 2020 · 5 comments

Comments

@Hero9909
Copy link

Describe the bug
the web vnc or spice connection does not work as intendet, and breaks the connection up after a few frames

To Reproduce
Steps to reproduce the behavior:

  1. Go to guests
  2. Click on "view console"
  3. new tab opens
  4. connection chrashes / no vnc connection is initialized
    Expected behavior
    as tested i would like to see a guest desktop / video here

Desktop (please complete the following information):

  • OS: 1. Ubuntu 20.04 server from live installaion and 2. ubuntu 20.04 qemu host for 1
  • Browser 2. chromium Version 81.0.4044.138
  • Version 5e06451 build from source with fix from no virtualization tap #1319

Additional context
Log:

[13/May/2020:06:53:36] HTTP 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/lib/python3/dist-packages/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python3/dist-packages/cherrypy/_cptools.py", line 182, in handle_func
    handled = self.callable(*args, **self._merged_args(kwargs))
TypeError: staticfile() got multiple values for argument 'filename'
[13/May/2020:06:53:36] HTTP 
Request Headers:
  Remote-Addr: 127.0.0.1
  HOST: 192.168.122.48
  X-REAL-IP: 192.168.122.1
  X-FORWARDED-FOR: 192.168.122.1
  CONNECTION: close
  USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/81.0.4044.138 Chrome/81.0.4044.138 Safari/537.36
  ACCEPT: image/webp,image/apng,image/*,*/*;q=0.8
  SEC-FETCH-SITE: same-origin
  SEC-FETCH-MODE: no-cors
  SEC-FETCH-DEST: empty
  REFERER: https://192.168.122.48:8001/plugins/kimchi/spice_auto.html?port=8001&listen=192.168.122.48&token=dWJ1bnR1MTkuMDQuMTU4OTM0OTUxMzQzOS12bS0x&encrypt=1
  ACCEPT-ENCODING: gzip, deflate, br
  ACCEPT-LANGUAGE: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
  COOKIE: username=devadmin; user_role=admin; token=dWJ1bnR1MTkuMDQuMTU4OTM0OTUxMzQzOS12bS0x; wok=4a9b93061e404cba36c4c83b73a7c521a359340c; lastPage="/#plugins/kimchi/tabs/guests"
@Hero9909 Hero9909 changed the title source build with could not connect to spice or vnc [source build] could not connect to spice or vnc May 13, 2020
@NZLostboy
Copy link

Having the same issue, haven't manage to resolve it yet.

@Criptos
Copy link

Criptos commented Aug 27, 2020

x3... Me tooo :)

@nrdmtt
Copy link

nrdmtt commented Sep 25, 2020

x4 same here

--- EDIT---

For those that are stuck with this noVNC problem and are running kimchi on a headless machine, I found a temporary solution to at least complete the first installation. Here you can find the way to create an SSH tunnel that you can later use with your VNC client to connect to the VM.

One you have connected, you might see some errors. Just hit TAB and then select the boot option.

Hope it can help.

@mengxing2017
Copy link

这个问题有可能是websockify版本问题,使用websockify 0.7.0版本就不报这个错误了,解决办法:

sudo pip3 install websockify==0.7.0

@Hero9909
Copy link
Author

这个问题有可能是websockify版本问题,使用websockify 0.7.0版本就不报这个错误了,解决办法:

This problem may be caused by the websockify version. If you use the websockify 0.7.0 version, this error will not be reported. Solution

sudo pip3 install websockify==0.7.0

please write in english the next time, thank you.

but anyway ill try that out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants