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

Can't start Ravada VM with IPv6 only. #1976

Open
ph0llux opened this issue Jul 19, 2023 · 3 comments
Open

Can't start Ravada VM with IPv6 only. #1976

ph0llux opened this issue Jul 19, 2023 · 3 comments
Assignees

Comments

@ph0llux
Copy link

ph0llux commented Jul 19, 2023

Describe the bug
I've tried to start a virtual machine using Ravada on an IPv6-only server.
If I try to start the machine, this error occured.

To Reproduce
Steps to reproduce the behavior:

  1. replace the appropriate listener at /etc/rvd_front.conf with listen => ['http://[::]:8081']
  2. Login to Ravada web
  3. create a virtual machine (e.g. Windows 11)
  4. Try to start the machine

Expected behavior
Start the virtual machine

Screenshots

Server (please complete the following information):

  • OS: Ubuntu 22.04
  • Ravada Version 2.1.0

Client (please complete the following information):

  • Browser: - Browser Firefox
  • OS: Fedora 38

Additional context
There is an additional error log message:

Jul 19 13:21:58 server rvd_front[107109]: [2023-07-19 13:21:58.49419] [107109] [error] [4WeEWF9urPGf] Error: remote ip invalid 'fd00:fffe::2' at /usr/share/perl5/Ravada/Request.pm line 446.
Jul 19 13:21:58 server rvd_front[107109]:         Ravada::Request::start_domain("Ravada::Request", "uid", 3, "id_domain", 2, "remote_ip", "fd00:fffe::2", "enable_host_devices", ...) called at /usr/sbin/rvd_front line 3330

The address fd00:fffe::2 is the appropriate address of my Fedora client.

@ph0llux
Copy link
Author

ph0llux commented Jul 19, 2023

Hm, I've noticed that other things also not works with ipv6 only - the itself VM runs, but can't be connected via spice:

Bildschirmfoto vom 2023-07-19 16-36-23

@frankiejol
Copy link
Member

Great you found it. Trying to build IPV6 may need more work. It is a pretty interesting project though and it would be nice to complete it.

In the specific part you found the crash, you have to know that Ravada relies heavily on iptables for security reasons. So first we need to make it work too. I have never used ipv6 but if you are willing to work on it I will give you all the assistance that I can.

@ph0llux
Copy link
Author

ph0llux commented Jul 19, 2023

Thank you for offering assistance. Tomorrow, I will open a new issue as a "collection thread" to discuss IPv6 support. As far as I have seen so far, there are unfortunately more construction sites.
I will try my best to address these.

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

2 participants