modify this file.

#vim /usr/share/novnc/include/rfb.js

change

def_con_timeout  = Websock_native ? 2 : 5,

to

def_con_timeout  = Websock_native ? 20 : 50,


then restart nova-novncproxy

________________________________
发件人: Leszczuk, Lukasz [lukasz.leszc...@intel.com]
发送时间: 2015年2月10日 2:47
收件人: openstack@lists.openstack.org
Cc: Kuriata, Andrzej
主题: [Openstack] [FUEL] Nova novncproxy doesn't work.

Hi Stackers,

I have installed Fuel 6 on Ubuntu 12.04 and everything works as a charm except 
nonvc. I’m experiencing same problem as described in 
https://bugs.launchpad.net/fuel/+bug/1409661?comments=all. In Firefox I’m 
getting connection timeout and novncproxy logs are clear. In my configuration 
Fuel is installed as a VM, and only 1 external machine ( desktop with GUI ) is 
manually configured to have access to Fuel’s public network ( it’s not public 
cloud, so I don’t need horizon available for everyone ).
I did downgrade websockify to 0.5.1 from Fuel 5 and vnc started working, but 
apt became inconsistent so it’s not a solution. In bug comment Dmitry wrote 
that he updated nova packages, so I download Fuel 6.0.1 ( daily build 18 ), 
updated packages and disabled nonvcproxy on other controllers, but that did not 
help.

Network configuration ( in case it might matter ):
On external machine I have manually added routing (192.168.8.0/22 via 
10.102.98.12 dev eth0 )
On 10.102.98.12 ( which is a host for Fuel ) I have enabled ipv4 forwarding and 
added ip for Fuel’s public network ( it works as gateway in that network )
I checked every controller node and I can ping external machine.

I’m not sure whether it is Fuel bug, or nova bug, but any help will greatly 
appreciated ☺

Best Regards,
Lukasz Leszczuk


---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Słowackiego 173 | 80-298 Gdańsk | Sąd Rejonowy Gdańsk Północ | VII Wydział 
Gospodarczy Krajowego Rejestru Sądowego - KRS 101882 | NIP 957-07-52-316 | 
Kapitał zakładowy 200.000 PLN.

Ta wiadomość wraz z załącznikami jest przeznaczona dla określonego adresata i 
może zawierać informacje poufne. W razie przypadkowego otrzymania tej 
wiadomości, prosimy o powiadomienie nadawcy oraz trwałe jej usunięcie; 
jakiekolwiek przeglądanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). If you are not the intended recipient, please 
contact the sender and delete all copies; any review or distribution by others 
is strictly prohibited.
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to