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

Gianluca Cecchi gianluca.cecchi at gmail.com
Mon Dec 16 14:09:45 UTC 2013


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?
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?

Gianluca



More information about the Users mailing list