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

qemu + spice doesn't work without IPv4 #2352

Closed
Raizo62 opened this issue Dec 2, 2017 · 11 comments · Fixed by GNS3/gns3-server#2387
Closed

qemu + spice doesn't work without IPv4 #2352

Raizo62 opened this issue Dec 2, 2017 · 11 comments · Fixed by GNS3/gns3-server#2387
Assignees
Labels
Milestone

Comments

@Raizo62
Copy link

Raizo62 commented Dec 2, 2017

Hi

If we have not IP address, we can not start qemu VM with spice access :

getaddrinfo(0.0.0.0,5900): Address family for hostname not supported

On this link : bugs.launchpad, they suggest to use "::1"

Can you configure GNS3 to use "::1" instead "0.0.0.0" (if you detect IPv6 for example) ?

@grossmj grossmj self-assigned this Dec 3, 2017
@grossmj grossmj added this to the 2.1.1 milestone Dec 3, 2017
@grossmj grossmj added the Bug label Dec 3, 2017
@grossmj
Copy link
Member

grossmj commented Dec 5, 2017

What is your host binding and did you set "Allow console connections to any local IP address" in the preferences?

allow_console_connections

@Raizo62
Copy link
Author

Raizo62 commented Dec 5, 2017

Yes, "Allow console connections to any local IP address" is enabled.
But, if i disabled it, i have always the error message.

@grossmj
Copy link
Member

grossmj commented Dec 5, 2017

Ok, what is your host binding setting?

@Raizo62
Copy link
Author

Raizo62 commented Dec 5, 2017

Host binding : 127.0.0.1

@grossmj
Copy link
Member

grossmj commented Dec 7, 2017

Please, can you start python3 on the command line and type the following lines?

import socket
socket.getaddrinfo("0.0.0.0", 0, proto=socket.IPPROTO_TCP)

Let me know what you see after.

Thanks.

@Raizo62
Copy link
Author

Raizo62 commented Dec 7, 2017

user@raizo:~$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo("0.0.0.0", 0, proto=socket.IPPROTO_TCP)
[(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('0.0.0.0', 0))]

@grossmj
Copy link
Member

grossmj commented Dec 7, 2017

Do you have the same issue when using the VNC console?

@grossmj
Copy link
Member

grossmj commented Dec 7, 2017

I have fixed the Qemu + SPICE issue with GNS3/gns3-server@3a1ba8f

@Raizo62
Copy link
Author

Raizo62 commented Dec 7, 2017

Do you have the same issue when using the VNC console?

No. I think that it a bug in the lib of spice, not in GNS3.

I have fixed the Qemu + SPICE issue with GNS3/gns3-server@3a1ba8f

I will test

@Raizo62
Copy link
Author

Raizo62 commented Dec 7, 2017

I have fixed the Qemu + SPICE issue with GNS3/gns3-server@3a1ba8f

I have tested : it works. Thanks :-)

@grossmj
Copy link
Member

grossmj commented Dec 7, 2017

No worries 👍

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

Successfully merging a pull request may close this issue.

2 participants