[Spice-devel] [Users] Spice Proxy seems to try connect to host and not defined proxy

Tomas Jelinek tjelinek at redhat.com
Mon Dec 16 07:36:33 PST 2013



----- Original Message -----
> From: "Gianluca Cecchi" <gianluca.cecchi at gmail.com>
> To: "Marc-André Lureau" <mlureau at redhat.com>
> Cc: "Tomas Jelinek" <tjelinek at redhat.com>, spice-devel at lists.freedesktop.org, "users" <users at ovirt.org>
> Sent: Monday, December 16, 2013 3:09:45 PM
> Subject: Re: [Spice-devel] [Users] Spice Proxy seems to try connect to host and not defined proxy
> 
> On Mon, Dec 16, 2013 at 2:56 PM, Marc-André Lureau wrote:
> 
> >
> > I am not a RHEVM user, I don't know where is the documentation you are
> > talking about.
> >
> 
> Note that my original post was to ovirt-users mailing list. See here for it:
> http://lists.ovirt.org/pipermail/users/2013-December/018735.html
> (see what I got in /var/log/messages output there)
> 
> Tomas then forwarded to spice-devel too at a certain point.
> So the doc links  I referred were:
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3-Beta/html/Installation_Guide/sect-SPICE_Proxy.html
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Installation_Guide/sect-SPICE_Proxy.html
> 
> 
> > But I know that we track spice-gtk/virt-viewer RFE in bug and erratas for
> > RHEL/RHEVM.
> >
> I'm going to search for them to get more info on this, thanks
> 
> 
> >>
> >> But for sure I tested with an updated Fedora 19 client and if I'm not
> >> wrong also with a Fedora 20 beta
> >> And none of them worked...
> >
> > That's surprising, SPICE_PROXY=http://... and virt-viewer "proxy"
> > configuration should work. Can you describe what you are testing?
> >
> >> So how far from "upstream spice-gtk" are Fedora 19-20?
> >
> > Not very far.
> >
> >> On my Fedora 19 client I have spice-gtk3-0.20-6.fc19.x86_64 btw
> >> When I run console with Spice Proxy  enabled from this Fedora 19
> >> client I see that it runs remote-viewer indeed that is included in
> >> installed virt-viewer-0.5.6-1.fc19.x86_64 and
> >> rpm -qR virt-viewer gives also
> >> libspice-client-gtk-3.0.so.4 (the one included in spice-gtk3 version
> >> mentioned above)..
> >>
> >> So what I'm missing to be "compliant" on fedora 19 client?
> >
> > You said you are using ovirt? With XPI or mime? Could you get the
> > SPICE_DEBUG=1 log and check that proxy is being used?
> >
> > Could you check from command line that your HTTP proxy is correctly
> > configured (allow CONNECT etc)
> >
> > ex: SPICE_PROXY=http://proxy:3128 remote-viewer spice://host:port
> 
> I'm going to test what you suggested and report
> The test was made from fedora 19 in firefox browser and with spice-xpi
> installed, against oVirt 3.3.2 beta (based on f19 too and ovirt-beta
> repo).
> In VM I had set "auto" for spice, so I think it should use virt-viewer
> as it did, correct?

If 'auto' is set than it first tries to use the XPI plugin. If it does not find it than the native impl (using .vv file)

> And I also have pre-marked the Spice-Proxy checkbox (inherited by
> global config set)
> Does Spice Proxy work with both the plugin and the native
> remote-viewer or only with the latter?

Should with both. For XPI we set the ".Proxy" property (with capital "P") and for the native we put 
"proxy=..." to the .vv file (with small "p") which is AFAIK correct.

If you are using the native impl could you please verify that the "proxy=..." is indeed present in the .vv file?

> 
> Gianluca
>


More information about the Spice-devel mailing list