[Spice-devel] spice client using Certificate and ipv6 question
David Jaša
djasa at redhat.com
Wed Mar 26 05:08:39 PDT 2014
On St, 2014-03-26 at 09:05 +0800, bigclouds wrote:
> all the cases you mentioned have been tested.
>
> spice://[....%eth0]?tls-port=5901 , failed
> g_proxy_resolver_lookup_async: assertion uri != NULL failed
>
That's the "scope lost" bugs I mentioned in spice-gtk:
https://bugzilla.redhat.com/show_bug.cgi?id=827115
and in glib:
https://bugzilla.redhat.com/show_bug.cgi?id=859474
https://bugzilla.gnome.org/show_bug.cgi?id=684404
Workaround: try with global ipv6 address (assigned by autoconfiguration)
David
>
>
>
>
> 在 2014-03-25 19:20:12,"David Jaša" <djasa at redhat.com> 写道:
> >Hi,
> >
> >On Út, 2014-03-25 at 09:50 +0100, Christophe Fergeau wrote:
> >> On Tue, Mar 25, 2014 at 09:45:54AM +0800, bigclouds wrote:
> >> > centos6.3
> >> > spice-gtk-0.20-11.el6.x86_64
> >> > spice-server-0.12.2-1.el6.x86_64
> >> > spice-glib-0.20-11.el6.x86_64
> >> > virt-viewer-0.5.6-8.el6.x86_64
> >> >
> >> >
> >> > i think the problem is related to spice-glib, g_network_address_new. maybe glib has some problems.
> >> > it is ok if it is ::1(local lo ipv6), outside ipv6 and local ipv6 failed. it is weird.
> >> >
> >> > thanks
> >> >
> >> > (remote-viewer:12972): GSpice-DEBUG: spice-session.c:1813 open host fe80::20c:29ff:fe0a:2351:5901
> >>
> >> remote-viewer seems to think 5901 (port name I guess) is part of the
> >> IP/host. Have you tried spice://[fe80::20c:29ff:fe0a:2351]:5901 or
> >> spice://fe80::20c:29ff:fe0a:2351?port=5901 ?
> >
> >Note that:
> > * link-local addresses (fe80::something) need interface designation (scope), e.g. fe80::aabb:ccff:fedd:eeff%eth0
> > * remote-viewer sticks to uri scheme so ipv6 address needs to be enclosed in brackets (there was a bug clarifying it)
> >so the correct url for the example above should be:
> >spice://[fe80:20c:29ff:fe0a:2351%eth0]:5901/
> >
> >There used to be another bug about scope being stripped from the uris in glib, I'm not sure about its status in .el6 though.
> >
> >David
> >
> >>
> >> Christophe
> >> _______________________________________________
> >> Spice-devel mailing list
> >> Spice-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> >
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list