[one-users] NoVNC in Sunstone behind lighttpd
Hector Sanjuan
hsanjuan at opennebula.org
Fri Jun 1 00:20:45 PDT 2012
No, nothing has been changed regarding this aspect in 3.2.1.
If it works for you that probably means that your Sunstone clients can
open a direct connection from their browser to
sunstone_host:vnc_proxy_port, where the normal sunstone_host:443 is the
only one being proxied through lighthttpd. I guess your proxy is running
on the same machine as sunstone and no firewalls are in place so vnc
connections can happen. Or maybe you have a different setup that I havent
thought of?
Hector
En Fri, 01 Jun 2012 09:06:03 +0200, Jhon Masschelein
<jhon.masschelein at sara.nl> escribió:
> Hi,
>
> Has something changed in 3.4.1 that makes this no longer work?
>
> We're running 3.2.1 behind a lighttpd ssl proxy and the noVNC consoles
> work (almost) perfectly for us...
>
> Wkr,
>
> Jhon
>
>
> On 05/31/2012 11:00 PM, Hector Sanjuan wrote:
>> Hello,
>>
>> bad news: noVNC uses websockets to open a connection to a tcp port on
>> the sunstone frontend which your reverse proxy is probably not letting
>> through. Actually, this port depends on the VM ID that you are
>> connecting to (proxy_base_port + vm_id), so as things are now there is
>> no straightforward way that you can get Sunstone VNC working with a
>> reverse proxy solution unless you take care of proxying a wide range of
>> ports, or find a way to let the connections through directly to them.
>>
>> good news: We realised of this limitation and this will be changed for
>> the next release as part of http://dev.opennebula.org/issues/1209. The
>> idea is that we run a single websockets proxy instance on a single fixed
>> port.
>>
>> So im afraid you just need to wait some weeks,
>>
>> Hector
>>
>>
>> En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste
>> <liste at albertozuin.eu> escribió:
>>
>>> Hello all,
>>> I'm setting up a new cloud (little, but this time it's mine ;-) with
>>> OpenNebula 3.4.1.
>>> Sunstone works like a charm when connecting directly on port 9869, but
>>> I want using Lighttpd for ssl proxy. In this situation there is a
>>> problem using NoVNC web console: when I click on the icon, appear the
>>> popup on the bottom but no console.
>>> No error in lighttpd log and in sunstone log.
>>> Any suggestions?
>>> Thanks,
>>> Alberto
>>>
>>
>>
>
--
Hector Sanjuan
OpenNebula Developer
More information about the Users
mailing list