Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2014-08-13 Thread pawel . orzechowski
 

Hi Daniel, 

We did not have time to check this - I just switched off secure
connection. 

Thanks for hint, I will check the issue you have sent. 

Thanks again 

Pawel 
---

Paweł Orzechowski
pawel.orzechow...@budikom.net
BUDIKOM.NET
ul. Trzy Lipy 3, GPNT, bud. C
80-172 Gdańsk
tel.: +48 58 58 58 708
email: bi...@budikom.net

W dniu 2014-08-11 10:50, Daniel Molina napisał(a): 

 Hi Pawel, 
 
 Did you fix the problem? We found a bug in distribution running ruby 1.8.7 
 (i.e: CentOS 6.6), you can check the fix here: 
 http://dev.opennebula.org/issues/3128 [15] 
 
 Cheers 
 
 On 24 July 2014 19:02, pawel.orzechow...@budikom.net wrote:
 
 Daniel, I have the same error VNC Server disconnected (code: 1006). 
 
 I will check the link Valentin has provided and let you know. 
 
 Thanks 
 
 Pawel 
 
 --- 
 
 Paweł Orzechowski
 pawel.orzechow...@budikom.net
 BUDIKOM.NET [1]
 ul. Trzy Lipy 3, GPNT, bud. C
 80-172 Gdańsk
 tel.: +48 58 58 58 708
 email: bi...@budikom.net
 
 W dniu 2014-07-24 07:07, Valentin Bud napisał(a): 
 
 Hello Paweł, 
 
 Maybe your issue is somehow connected to the Same-Origin-Policy discussed in 
 the following thread: 
 
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html
  [16] 
 
 Best, 
 Valentin 
 
 On Wed, Jul 23, 2014 at 4:16 PM, Daniel Molina dmol...@opennebula.org wrote:
 
 On 22 July 2014 16:44, pawel.orzechow...@budikom.net wrote:
 
 I had similar situation. When I switched on secure websockets connection in 
 my profile settings I could not open VNC connection to any virtual machine. 
 
 Isn't it a bug? 
 
 What is the error message that is shown in Susntone? 
 
 Cheers 
 
 Pawel 
 
 I have found my mistake!
 It was silly - Some time ago I pressed Secure websockets connection chekbox 
 in configuration tab and forgot about it.
 So now it's working!
 THANK YOU.
 
 23.08.2012, 17:17, Пярн Артур dekkart at yandex.ru [2]:
 If I go direclty from browser to http://10.18.1.7:35792/ [3]
 it shows me in websockify output the following message: Normal web request 
 received but disallowed
 23.08.2012, 16:54, Пярн Артур dekkart at yandex.ru [2]:
 Just in case, my configuration:
 10.2.2.2 - KVM host with VMs
 10.18.1.7 - only OpenNebula and Sunstone front-end
 * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 [4] 
 for example) with a standard vnc client
 Yes, with no problem
 If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 
 35792 10.2.2.2:5916 [4], I can't connetct from VNC client to 
 10.18.1.7:35792 [5], it shows me ignoring socket not ready:
 root at ubuntu [2]:/srv/cloud/one/share/noVNC/utils# 
 /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 [4]
 WARNING: no 'numpy' module, HyBi protocol is slower or disabled
 WebSocket server settings:
 - Listen on :35792
 - Flash security policy server
 - No SSL/TLS support (no cert file)
 - proxying from :35792 to 10.2.2.2:5916 [4]
 1: 10.2.0.3 [6]: ignoring socket not ready
 2: 10.2.0.3 [6]: ignoring socket not ready
 I found that I can connect to 10.18.1.7 [7]: 35792 from browser 
 (http://10.18.1.7:6080/vnc.html [8]) when I start both launch.sh script 
 and also websockify 35792 10.2.2.2:5916 [4]
 23.08.2012, 16:20, Hector Sanjuan hsanjuan at opennebula.org [2]:
 Your working screenshot shows a VNC session to a VM deployed in the same
 host as the sunstone frontend (10.18.1.7:6080 [9]), but from sunstone you 
 are
 trying to open connections to VMs in a different host (10.2.2.2). My
 questions then,
 * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 
 [4] for
 example) with a standard vnc client
 * If you manually launch the proxy with the webserver option like you 
 did,
 would something like
 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 [10] work? This 
 should
 not work if sunstone doesnt. Perhaps you can get some useful info from the
 websockify stdout when attempting it if it doesnt work.
 (in response to your latest email, dont worry about the timeout thing)
 Hector
 En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekkart at yandex.ru 
 [2]
 escribió:
 Sure, logs below. sunstone.error is empty. It's our DEMO network, no
 firewall, so no way.
 --
 Server configuration
 --
 {:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 :auth=sunstone,
 :vnc_proxy_key=nil,
 :vnc_proxy_support_wss=false,
 :debug_level=3,
 :vnc_proxy_base_port=29876,
 :host=0.0.0.0,
 :port=,
 :one_xmlrpc=http://localhost:2633/RPC2 [11],
 :core_auth=cipher,
 :lang=en_US,
 :vnc_proxy_cert=nil}
 == Sinatra/1.3.2 has taken the stage on  for development with backup
 from Thin
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET /
 HTTP/1.1 200 1595 0.0075
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /css/login.css HTTP/1.1 304 - 0.0022
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2014-08-11 Thread Daniel Molina
Hi Pawel,

Did you fix the problem? We found a bug in distribution running ruby 1.8.7
(i.e: CentOS 6.6), you can check the fix here:
http://dev.opennebula.org/issues/3128

Cheers




On 24 July 2014 19:02, pawel.orzechow...@budikom.net wrote:

  Daniel, I have the same error VNC Server disconnected (code: 1006).

 I will check the link Valentin has provided and let you know.

 Thanks

 Pawel


 ---

 Paweł orzechowskipawel.orzechow...@budikom.net*budikom.net 
 http://budikom.net*
 ul. Trzy Lipy 3, GPNT, bud. C
 80-172 Gdańsk
 tel.: +48 58 58 58 708
 email: bi...@budikom.net

  W dniu 2014-07-24 07:07, Valentin Bud napisał(a):

 Hello Paweł,

 Maybe your issue is somehow connected to the Same-Origin-Policy discussed
 in
 the following thread:


 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html

 Best,
 Valentin


 On Wed, Jul 23, 2014 at 4:16 PM, Daniel Molina dmol...@opennebula.org
 wrote:




 On 22 July 2014 16:44, pawel.orzechow...@budikom.net wrote:

  I had similar situation. When I switched on secure websockets
 connection in my profile settings I could not open VNC connection to any
 virtual machine.

 Isn't it a bug?


 What is the error message that is shown in Susntone?

 Cheers


  Pawel

 I have found my mistake!
 It was silly - Some time ago I pressed Secure websockets connection 
 chekbox in configuration tab and forgot about it.
 So now it's working!
 THANK YOU.

 23.08.2012, 17:17, Пярн Артур dekkart at yandex.ru 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:
 * If I go direclty from browser to http://10.18.1.7:35792/ 
 http://10.18.1.7:35792/
 ** it shows me in websockify output the following message: Normal web 
 request received but disallowed
 ** 23.08.2012, 16:54, Пярн Артур dekkart at yandex.ru 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:
 **  Just in case, my configuration:
 **  10.2.2.2 - KVM host with VMs
 **  10.18.1.7 - only OpenNebula and Sunstone front-end
 **  * Can you connect directly without no VNC to those VMs 
 (10.2.2.2:5916 http://10.2.2.2:5916 for example) with a standard vnc 
 client
 **  Yes, with no problem
 **  If I start proxy manualy 
 /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 
 http://10.2.2.2:5916, I can't connetct from VNC client to 
 10.18.1.7:35792 http://10.18.1.7:35792, it shows me ignoring socket not 
 ready:
 **  root at ubuntu 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:/srv/cloud/one/share/noVNC/utils#
   /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 
 http://10.2.2.2:5916
 **  WARNING: no 'numpy' module, HyBi protocol is slower or disabled
 **  WebSocket server settings:
 **- Listen on :35792
 **- Flash security policy server
 **- No SSL/TLS support (no cert file)
 **- proxying from :35792 to 10.2.2.2:5916 http://10.2.2.2:5916
 **1: 10.2.0.3 http://10.2.0.3: ignoring socket not ready
 **2: 10.2.0.3 http://10.2.0.3: ignoring socket not ready
 **  I found that I can connect to 10.18.1.7 http://10.18.1.7: 35792 
 from browser (http://10.18.1.7:6080/vnc.html 
 http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and 
 also websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916
 **  23.08.2012, 16:20, Hector Sanjuan hsanjuan at opennebula.org 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:
 **   Your working screenshot shows a VNC session to a VM deployed in 
 the same
 **   host as the sunstone frontend (10.18.1.7:6080 
 http://10.18.1.7:6080), but from sunstone you are
 **   trying to open connections to VMs in a different host (10.2.2.2). My
 **   questions then,
 **   * Can you connect directly without no VNC to those VMs 
 (10.2.2.2:5916 http://10.2.2.2:5916 for
 **   example) with a standard vnc client
 **   * If you manually launch the proxy with the webserver option 
 like you did,
 **   would something like
 **   http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 
 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should
 **   not work if sunstone doesnt. Perhaps you can get some useful info 
 from the
 **   websockify stdout when attempting it if it doesnt work.
 **   (in response to your latest email, dont worry about the timeout 
 thing)
 **   Hector
 **   En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekkart at 
 yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 **   escribió:
 **Sure, logs below. sunstone.error is empty. It's our DEMO network, 
 no
 **firewall, so no way.
 **--
 ** Server configuration
 **--
 **{:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 ** :auth=sunstone,
 ** :vnc_proxy_key=nil,
 ** :vnc_proxy_support_wss=false,
 ** :debug_level=3,
 ** :vnc_proxy_base_port=29876,
 ** :host=0.0.0.0,
 ** :port=,
 ** :one_xmlrpc=http://localhost:2633/RPC2 
 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2014-07-24 Thread pawel . orzechowski
 

Daniel, I have the same error VNC Server disconnected (code: 1006). 

I will check the link Valentin has provided and let you know. 

Thanks 

Pawel 

---

Paweł Orzechowski
pawel.orzechow...@budikom.net
BUDIKOM.NET
ul. Trzy Lipy 3, GPNT, bud. C
80-172 Gdańsk
tel.: +48 58 58 58 708
email: bi...@budikom.net

W dniu 2014-07-24 07:07, Valentin Bud napisał(a): 

 Hello Paweł, 
 
 Maybe your issue is somehow connected to the Same-Origin-Policy discussed in 
 the following thread: 
 
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html
  [15] 
 
 Best, 
 Valentin 
 
 On Wed, Jul 23, 2014 at 4:16 PM, Daniel Molina dmol...@opennebula.org wrote:
 
 On 22 July 2014 16:44, pawel.orzechow...@budikom.net wrote:
 
 I had similar situation. When I switched on secure websockets connection in 
 my profile settings I could not open VNC connection to any virtual machine. 
 
 Isn't it a bug? 
 
 What is the error message that is shown in Susntone? 
 
 Cheers 
 
 Pawel 
 
 I have found my mistake!
 It was silly - Some time ago I pressed Secure websockets connection chekbox 
 in configuration tab and forgot about it.
 So now it's working!
 THANK YOU.
 
 23.08.2012, 17:17, Пярн Артур dekkart at yandex.ru [1]:
 If I go direclty from browser to http://10.18.1.7:35792/ [2]
 it shows me in websockify output the following message: Normal web request 
 received but disallowed
 23.08.2012, 16:54, Пярн Артур dekkart at yandex.ru [1]:
 Just in case, my configuration:
 10.2.2.2 - KVM host with VMs
 10.18.1.7 - only OpenNebula and Sunstone front-end
 * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 [3] 
 for example) with a standard vnc client
 Yes, with no problem
 If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 
 35792 10.2.2.2:5916 [3], I can't connetct from VNC client to 
 10.18.1.7:35792 [4], it shows me ignoring socket not ready:
 root at ubuntu [1]:/srv/cloud/one/share/noVNC/utils# 
 /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 [3]
 WARNING: no 'numpy' module, HyBi protocol is slower or disabled
 WebSocket server settings:
 - Listen on :35792
 - Flash security policy server
 - No SSL/TLS support (no cert file)
 - proxying from :35792 to 10.2.2.2:5916 [3]
 1: 10.2.0.3 [5]: ignoring socket not ready
 2: 10.2.0.3 [5]: ignoring socket not ready
 I found that I can connect to 10.18.1.7 [6]: 35792 from browser 
 (http://10.18.1.7:6080/vnc.html [7]) when I start both launch.sh script 
 and also websockify 35792 10.2.2.2:5916 [3]
 23.08.2012, 16:20, Hector Sanjuan hsanjuan at opennebula.org [1]:
 Your working screenshot shows a VNC session to a VM deployed in the same
 host as the sunstone frontend (10.18.1.7:6080 [8]), but from sunstone you 
 are
 trying to open connections to VMs in a different host (10.2.2.2). My
 questions then,
 * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 
 [3] for
 example) with a standard vnc client
 * If you manually launch the proxy with the webserver option like you 
 did,
 would something like
 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 [9] work? This 
 should
 not work if sunstone doesnt. Perhaps you can get some useful info from the
 websockify stdout when attempting it if it doesnt work.
 (in response to your latest email, dont worry about the timeout thing)
 Hector
 En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekkart at yandex.ru 
 [1]
 escribió:
 Sure, logs below. sunstone.error is empty. It's our DEMO network, no
 firewall, so no way.
 --
 Server configuration
 --
 {:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 :auth=sunstone,
 :vnc_proxy_key=nil,
 :vnc_proxy_support_wss=false,
 :debug_level=3,
 :vnc_proxy_base_port=29876,
 :host=0.0.0.0,
 :port=,
 :one_xmlrpc=http://localhost:2633/RPC2 [10],
 :core_auth=cipher,
 :lang=en_US,
 :vnc_proxy_cert=nil}
 == Sinatra/1.3.2 has taken the stage on  for development with backup
 from Thin
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET /
 HTTP/1.1 200 1595 0.0075
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /css/login.css HTTP/1.1 304 - 0.0022
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /vendor/jQuery/jquery-1.7.1.min.js HTTP/1.1 304 - 0.0019
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /js/opennebula.js HTTP/1.1 304 - 0.0015
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /js/login.js HTTP/1.1 304 - 0.0011
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /images/ajax-loader.gif HTTP/1.1 304 - 0.0006
 Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
 /images/opennebula-sunstone-big.png HTTP/1.1 304 - 0.0013
 Thu Aug 23 12:04:43 2012 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2014-07-23 Thread Valentin Bud
Hello Paweł,

Maybe your issue is somehow connected to the Same-Origin-Policy discussed in
the following thread:

http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html

Best,
Valentin


On Wed, Jul 23, 2014 at 4:16 PM, Daniel Molina dmol...@opennebula.org
wrote:




 On 22 July 2014 16:44, pawel.orzechow...@budikom.net wrote:

  I had similar situation. When I switched on secure websockets
 connection in my profile settings I could not open VNC connection to any
 virtual machine.

 Isn't it a bug?


 What is the error message that is shown in Susntone?

 Cheers


  Pawel

 I have found my mistake!
 It was silly - Some time ago I pressed Secure websockets connection 
 chekbox in configuration tab and forgot about it.
 So now it's working!
 THANK YOU.

 23.08.2012, 17:17, Пярн Артур dekkart at yandex.ru 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:
 * If I go direclty from browser to http://10.18.1.7:35792/ 
 http://10.18.1.7:35792/
 ** it shows me in websockify output the following message: Normal web 
 request received but disallowed
 ** 23.08.2012, 16:54, Пярн Артур dekkart at yandex.ru 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:
 **  Just in case, my configuration:
 **  10.2.2.2 - KVM host with VMs
 **  10.18.1.7 - only OpenNebula and Sunstone front-end
 **  * Can you connect directly without no VNC to those VMs 
 (10.2.2.2:5916 http://10.2.2.2:5916 for example) with a standard vnc client
 **  Yes, with no problem
 **  If I start proxy manualy 
 /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 
 http://10.2.2.2:5916, I can't connetct from VNC client to 10.18.1.7:35792 
 http://10.18.1.7:35792, it shows me ignoring socket not ready:
 **  root at ubuntu 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:/srv/cloud/one/share/noVNC/utils#
   /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 
 http://10.2.2.2:5916
 **  WARNING: no 'numpy' module, HyBi protocol is slower or disabled
 **  WebSocket server settings:
 **- Listen on :35792
 **- Flash security policy server
 **- No SSL/TLS support (no cert file)
 **- proxying from :35792 to 10.2.2.2:5916 http://10.2.2.2:5916
 **1: 10.2.0.3 http://10.2.0.3: ignoring socket not ready
 **2: 10.2.0.3 http://10.2.0.3: ignoring socket not ready
 **  I found that I can connect to 10.18.1.7 http://10.18.1.7: 35792 
 from browser (http://10.18.1.7:6080/vnc.html 
 http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and 
 also websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916
 **  23.08.2012, 16:20, Hector Sanjuan hsanjuan at opennebula.org 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:
 **   Your working screenshot shows a VNC session to a VM deployed in 
 the same
 **   host as the sunstone frontend (10.18.1.7:6080 
 http://10.18.1.7:6080), but from sunstone you are
 **   trying to open connections to VMs in a different host (10.2.2.2). My
 **   questions then,
 **   * Can you connect directly without no VNC to those VMs 
 (10.2.2.2:5916 http://10.2.2.2:5916 for
 **   example) with a standard vnc client
 **   * If you manually launch the proxy with the webserver option like 
 you did,
 **   would something like
 **   http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 
 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should
 **   not work if sunstone doesnt. Perhaps you can get some useful info 
 from the
 **   websockify stdout when attempting it if it doesnt work.
 **   (in response to your latest email, dont worry about the timeout 
 thing)
 **   Hector
 **   En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekkart at 
 yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 **   escribió:
 **Sure, logs below. sunstone.error is empty. It's our DEMO network, 
 no
 **firewall, so no way.
 **--
 ** Server configuration
 **--
 **{:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 ** :auth=sunstone,
 ** :vnc_proxy_key=nil,
 ** :vnc_proxy_support_wss=false,
 ** :debug_level=3,
 ** :vnc_proxy_base_port=29876,
 ** :host=0.0.0.0,
 ** :port=,
 ** :one_xmlrpc=http://localhost:2633/RPC2 
 http://localhost:2633/RPC2,
 ** :core_auth=cipher,
 ** :lang=en_US,
 ** :vnc_proxy_cert=nil}
 **== Sinatra/1.3.2 has taken the stage on  for development with 
 backup
 **from Thin
 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] 
 GET /
 **HTTP/1.1 200 1595 0.0075
 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] 
 GET
 **/css/login.css HTTP/1.1 304 - 0.0022
 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] 
 GET
 **/vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Hector Sanjuan

Hello,

its a bit strange, can you send sunstone.log and sunstone.error if not  
empty? Any chance that the port used by the proxy launched by susntone is  
not accesible because of a firewall etc?


Hector

En Thu, 23 Aug 2012 13:04:01 +0200, Пярн Артур dekk...@yandex.ru  
escribió:



Hi everybody!

Another strange problem with VNC:
everything is fine, when I click on VNC icon in Sunstone - noVNC proxy  
is working (I can see it in ps aux output) and I can start session  
from browser directly  
(http://10.18.1.7:6080/vnc.html?host=10.18.1.7port=6080) and I can also  
connect directly to VM from VNC client.

BUT!
Beautiufll Sunstone VNC connection windows doesn't show anyting!
There is message on white background Server disconnected (code: 1006)

I can't understand what's wrong. Screenshot is in the attach.

Thank you very much in advance!!

--
Best regards,
Artur Pyarn



--
Hector Sanjuan
OpenNebula Developer
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Пярн Артур
Sure, logs below. sunstone.error is empty. It's our DEMO network, no firewall, 
so no way.


--
 Server configuration
--
{:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 :auth=sunstone,
 :vnc_proxy_key=nil,
 :vnc_proxy_support_wss=false,
 :debug_level=3,
 :vnc_proxy_base_port=29876,
 :host=0.0.0.0,
 :port=,
 :one_xmlrpc=http://localhost:2633/RPC2;,
 :core_auth=cipher,
 :lang=en_US,
 :vnc_proxy_cert=nil}
== Sinatra/1.3.2 has taken the stage on  for development with backup from 
Thin
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET / 
HTTP/1.1 200 1595 0.0075
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/css/login.css HTTP/1.1 304 - 0.0022
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/vendor/jQuery/jquery-1.7.1.min.js HTTP/1.1 304 - 0.0019
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/js/opennebula.js HTTP/1.1 304 - 0.0015
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/js/login.js HTTP/1.1 304 - 0.0011
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/images/ajax-loader.gif HTTP/1.1 304 - 0.0006
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/images/opennebula-sunstone-big.png HTTP/1.1 304 - 0.0013
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/images/panel.png HTTP/1.1 304 - 0.0014
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET 
/images/login.png HTTP/1.1 304 - 0.0007
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET 
/images/login_over.png HTTP/1.1 304 - 0.0006
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] POST /login 
HTTP/1.1 204 - 0.0682
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET / 
HTTP/1.1 200 4636 0.0065
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET 
/vendor/noVNC/include/plain.css HTTP/1.1 404 466 0.0017
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET /config 
HTTP/1.1 200 44 0.0026
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 
HTTP/$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/user?timeout=false HTTP/1.1 200 637 0.0188
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/group?timeout=false HTTP/1.1 200 291 0.0187
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/acl?timeout=false HTTP/1.1 200 377 0.0176
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/vmtemplate?timeout=false HTTP/1.1 200 4406 0.0591
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/image?timeout=false HTTP/1.1 200 902 0.0545
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/vm?timeout=false HTTP/1.1 200 8422 0.0668
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/cluster?timeout=false HTTP/1.1 200 27 0.0123
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/vm?timeout=false HTTP/1.1 200 8422 0.0668
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/cluster?timeout=false HTTP/1.1 200 27 0.0123
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/host?timeout=false HTTP/1.1 200 2507 0.0145
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/datastore?timeout=false HTTP/1.1 200 1502 0.0153
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET 
/vnet?timeout=false HTTP/1.1 200 1406 0.0057
Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12 
HTTP/1.1 200 1836 0.0683
Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET 
/vm/12/monitor?title=CPUmonitor_resources=cpu_usagehumanize_figures=falsehistor$
Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET 
/vm/12/monitor?title=Network+transmissionmonitor_resources=net_txhumanize_figure$
Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET 
/vm/12/monitor?title=Network+receptionmonitor_resources=net_rxhumanize_figures=t$
Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Пярн Артур
Maybe some problem with kinda timout in Sunstone? More logs immediately after 
start vnc moment: 

Thu Aug 23 12:05:48 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:48] GET 
/user?timeout=true HTTP/1.1 200 637 0.0670
Thu Aug 23 12:05:48 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:48] GET 
/datastore?timeout=true HTTP/1.1 200 1502 0.0074
Thu Aug 23 12:05:53 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:53] GET 
/image?timeout=true HTTP/1.1 200 902 0.0666
Thu Aug 23 12:05:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:54] GET 
/acl?timeout=true HTTP/1.1 200 377 0.0056
Thu Aug 23 12:05:56 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:56] GET 
/vnet?timeout=true HTTP/1.1 200 1406 0.0074
Thu Aug 23 12:05:59 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:59] GET 
/host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
Thu Aug 23 12:05:59 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:59] GET 
/host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
Thu Aug 23 12:05:59 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:59] GET 
/vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
Thu Aug 23 12:05:59 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:59] GET 
/vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 
HTTP/$
Thu Aug 23 12:06:05 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:05] GET 
/cluster?timeout=true HTTP/1.1 200 27 0.0058
Thu Aug 23 12:06:05 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:05] GET 
/group?timeout=true HTTP/1.1 200 291 0.0055
Thu Aug 23 12:06:06 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:06] GET 
/vmtemplate?timeout=true HTTP/1.1 200 4406 0.0097
Thu Aug 23 12:06:06 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:06] GET 
/vm?timeout=true HTTP/1.1 200 8422 0.0119
Thu Aug 23 12:06:15 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:15] GET 
/host?timeout=true HTTP/1.1 200 2507 0.0071
Thu Aug 23 12:06:50 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:50] GET 
/user?timeout=true HTTP/1.1 200 637 0.0660
Thu Aug 23 12:06:51 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:06:51] GET 
/datastore?timeout=true HTTP/1.1 200 1502 0.0062
Thu Aug 23 12:07:01 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:01] GET 
/image?timeout=true HTTP/1.1 200 902 0.0382
Thu Aug 23 12:07:03 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:03] GET 
/acl?timeout=true HTTP/1.1 200 377 0.0053
Thu Aug 23 12:07:07 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:07] GET 
/vnet?timeout=true HTTP/1.1 200 1406 0.0063
Thu Aug 23 12:07:14 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:14] GET 
/host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
Thu Aug 23 12:07:14 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:14] GET 
/host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
Thu Aug 23 12:07:14 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:14] GET 
/vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
Thu Aug 23 12:07:14 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:14] GET 
/host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
Thu Aug 23 12:07:14 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:14] GET 
/vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
Thu Aug 23 12:07:14 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:14] GET 
/vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 
HTTP/$
Thu Aug 23 12:07:24 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:24] GET 
/cluster?timeout=true HTTP/1.1 200 27 0.0658
Thu Aug 23 12:07:26 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:26] GET 
/group?timeout=true HTTP/1.1 200 291 0.0060
Thu Aug 23 12:07:26 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:26] GET 
/vmtemplate?timeout=true HTTP/1.1 200 4406 0.0090
Thu Aug 23 12:07:27 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:27] GET 
/vm?timeout=true HTTP/1.1 200 8422 0.0126
Thu Aug 23 12:07:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:43] GET 
/host?timeout=true HTTP/1.1 200 2507 0.0074
Thu Aug 23 12:07:52 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:52] GET 
/user?timeout=true HTTP/1.1 200 637 0.0675
Thu Aug 23 12:07:53 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:07:53] GET 
/datastore?timeout=true HTTP/1.1 200 1502 0.0066
Thu Aug 23 12:08:09 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:08:09] GET 
/image?timeout=true HTTP/1.1 200 902 0.0060
Thu Aug 23 12:08:12 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:08:12] GET 
/acl?timeout=true HTTP/1.1 200 377 0.0067
Thu Aug 23 12:08:17 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:08:17] GET 
/vnet?timeout=true HTTP/1.1 200 1406 0.0067
Thu Aug 23 12:08:28 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:08:28] GET 
/host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
Thu Aug 23 12:08:28 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:08:28] GET 
/host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
Thu Aug 23 12:08:28 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:08:28] GET 
/vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
Thu Aug 23 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Hector Sanjuan
Your working screenshot shows a VNC session to a VM deployed in the same  
host as the sunstone frontend (10.18.1.7:6080), but from sunstone you are  
trying to open connections to VMs in a different host (10.2.2.2). My  
questions then,


* Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for  
example) with a standard vnc client


* If you manually launch the proxy with the webserver option like you did,  
would something like  
http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should  
not work if sunstone doesnt. Perhaps you can get some useful info from the  
websockify stdout when attempting it if it doesnt work.


(in response to your latest email, dont worry about the timeout thing)

Hector


En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekk...@yandex.ru  
escribió:


Sure, logs below. sunstone.error is empty. It's our DEMO network, no  
firewall, so no way.



--
 Server configuration
--
{:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 :auth=sunstone,
 :vnc_proxy_key=nil,
 :vnc_proxy_support_wss=false,
 :debug_level=3,
 :vnc_proxy_base_port=29876,
 :host=0.0.0.0,
 :port=,
 :one_xmlrpc=http://localhost:2633/RPC2;,
 :core_auth=cipher,
 :lang=en_US,
 :vnc_proxy_cert=nil}
== Sinatra/1.3.2 has taken the stage on  for development with backup  
from Thin
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET /  
HTTP/1.1 200 1595 0.0075
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/css/login.css HTTP/1.1 304 - 0.0022
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/vendor/jQuery/jquery-1.7.1.min.js HTTP/1.1 304 - 0.0019
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/js/opennebula.js HTTP/1.1 304 - 0.0015
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/js/login.js HTTP/1.1 304 - 0.0011
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/images/ajax-loader.gif HTTP/1.1 304 - 0.0006
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/images/opennebula-sunstone-big.png HTTP/1.1 304 - 0.0013
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/images/panel.png HTTP/1.1 304 - 0.0014
Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET  
/images/login.png HTTP/1.1 304 - 0.0007
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET  
/images/login_over.png HTTP/1.1 304 - 0.0006
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] POST  
/login HTTP/1.1 204 - 0.0682
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET /  
HTTP/1.1 200 4636 0.0065
Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET  
/vendor/noVNC/include/plain.css HTTP/1.1 404 466 0.0017
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/config HTTP/1.1 200 44 0.0026
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40  
HTTP/$
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/user?timeout=false HTTP/1.1 200 637 0.0188
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/group?timeout=false HTTP/1.1 200 291 0.0187
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/acl?timeout=false HTTP/1.1 200 377 0.0176
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/vmtemplate?timeout=false HTTP/1.1 200 4406 0.0591
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/image?timeout=false HTTP/1.1 200 902 0.0545
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/vm?timeout=false HTTP/1.1 200 8422 0.0668
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/cluster?timeout=false HTTP/1.1 200 27 0.0123
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/vm?timeout=false HTTP/1.1 200 8422 0.0668
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/cluster?timeout=false HTTP/1.1 200 27 0.0123
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  
/host?timeout=false HTTP/1.1 200 2507 0.0145
Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET  

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Пярн Артур
Just in case, my configuration:
10.2.2.2 - KVM host with VMs
10.18.1.7 - only OpenNebula and Sunstone front-end

* Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for 
example) with a standard vnc client

Yes, with no problem

If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 35792 
10.2.2.2:5916, I can't connetct from VNC client to 10.18.1.7:35792, it shows 
me ignoring socket not ready:

root@ubuntu:/srv/cloud/one/share/noVNC/utils#  
/srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916
WARNING: no 'numpy' module, HyBi protocol is slower or disabled
WebSocket server settings:
  - Listen on :35792
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - proxying from :35792 to 10.2.2.2:5916

  1: 10.2.0.3: ignoring socket not ready
  2: 10.2.0.3: ignoring socket not ready

I found that I can connect to 10.18.1.7: 35792 from browser 
(http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and also 
websockify 35792 10.2.2.2:5916


23.08.2012, 16:20, Hector Sanjuan hsanj...@opennebula.org:
 Your working screenshot shows a VNC session to a VM deployed in the same
 host as the sunstone frontend (10.18.1.7:6080), but from sunstone you are
 trying to open connections to VMs in a different host (10.2.2.2). My
 questions then,

 * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for
 example) with a standard vnc client

 * If you manually launch the proxy with the webserver option like you did,
 would something like
 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should
 not work if sunstone doesnt. Perhaps you can get some useful info from the
 websockify stdout when attempting it if it doesnt work.

 (in response to your latest email, dont worry about the timeout thing)

 Hector

 En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekk...@yandex.ru
 escribió:

  Sure, logs below. sunstone.error is empty. It's our DEMO network, no
  firewall, so no way.

  --
   Server configuration
  --
  {:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
   :auth=sunstone,
   :vnc_proxy_key=nil,
   :vnc_proxy_support_wss=false,
   :debug_level=3,
   :vnc_proxy_base_port=29876,
   :host=0.0.0.0,
   :port=,
   :one_xmlrpc=http://localhost:2633/RPC2;,
   :core_auth=cipher,
   :lang=en_US,
   :vnc_proxy_cert=nil}
  == Sinatra/1.3.2 has taken the stage on  for development with backup
  from Thin
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET /
  HTTP/1.1 200 1595 0.0075
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /css/login.css HTTP/1.1 304 - 0.0022
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /vendor/jQuery/jquery-1.7.1.min.js HTTP/1.1 304 - 0.0019
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /js/opennebula.js HTTP/1.1 304 - 0.0015
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /js/login.js HTTP/1.1 304 - 0.0011
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /images/ajax-loader.gif HTTP/1.1 304 - 0.0006
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /images/opennebula-sunstone-big.png HTTP/1.1 304 - 0.0013
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /images/panel.png HTTP/1.1 304 - 0.0014
  Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
  /images/login.png HTTP/1.1 304 - 0.0007
  Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET
  /images/login_over.png HTTP/1.1 304 - 0.0006
  Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] POST
  /login HTTP/1.1 204 - 0.0682
  Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET /
  HTTP/1.1 200 4636 0.0065
  Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET
  /vendor/noVNC/include/plain.css HTTP/1.1 404 466 0.0017
  Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
  /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
  Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
  /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
  Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
  /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
  Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
  /config HTTP/1.1 200 44 0.0026
  Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
  /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40
  HTTP/$
  Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
  /user?timeout=false HTTP/1.1 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Пярн Артур
If I go direclty from browser to http://10.18.1.7:35792/
it shows me in websockify output the following message: Normal web request 
received but disallowed



23.08.2012, 16:54, Пярн Артур dekk...@yandex.ru:
 Just in case, my configuration:
 10.2.2.2 - KVM host with VMs
 10.18.1.7 - only OpenNebula and Sunstone front-end

 * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for 
 example) with a standard vnc client

 Yes, with no problem

 If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 35792 
 10.2.2.2:5916, I can't connetct from VNC client to 10.18.1.7:35792, it shows 
 me ignoring socket not ready:

 root@ubuntu:/srv/cloud/one/share/noVNC/utils#  
 /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916
 WARNING: no 'numpy' module, HyBi protocol is slower or disabled
 WebSocket server settings:
   - Listen on :35792
   - Flash security policy server
   - No SSL/TLS support (no cert file)
   - proxying from :35792 to 10.2.2.2:5916

   1: 10.2.0.3: ignoring socket not ready
   2: 10.2.0.3: ignoring socket not ready

 I found that I can connect to 10.18.1.7: 35792 from browser 
 (http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and also 
 websockify 35792 10.2.2.2:5916

 23.08.2012, 16:20, Hector Sanjuan hsanj...@opennebula.org:

  Your working screenshot shows a VNC session to a VM deployed in the same
  host as the sunstone frontend (10.18.1.7:6080), but from sunstone you are
  trying to open connections to VMs in a different host (10.2.2.2). My
  questions then,

  * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for
  example) with a standard vnc client

  * If you manually launch the proxy with the webserver option like you did,
  would something like
  http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should
  not work if sunstone doesnt. Perhaps you can get some useful info from the
  websockify stdout when attempting it if it doesnt work.

  (in response to your latest email, dont worry about the timeout thing)

  Hector

  En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekk...@yandex.ru
  escribió:
   Sure, logs below. sunstone.error is empty. It's our DEMO network, no
   firewall, so no way.

   --
    Server configuration
   --
   {:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
    :auth=sunstone,
    :vnc_proxy_key=nil,
    :vnc_proxy_support_wss=false,
    :debug_level=3,
    :vnc_proxy_base_port=29876,
    :host=0.0.0.0,
    :port=,
    :one_xmlrpc=http://localhost:2633/RPC2;,
    :core_auth=cipher,
    :lang=en_US,
    :vnc_proxy_cert=nil}
   == Sinatra/1.3.2 has taken the stage on  for development with backup
   from Thin
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET /
   HTTP/1.1 200 1595 0.0075
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /css/login.css HTTP/1.1 304 - 0.0022
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /vendor/jQuery/jquery-1.7.1.min.js HTTP/1.1 304 - 0.0019
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /js/opennebula.js HTTP/1.1 304 - 0.0015
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /js/login.js HTTP/1.1 304 - 0.0011
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /images/ajax-loader.gif HTTP/1.1 304 - 0.0006
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /images/opennebula-sunstone-big.png HTTP/1.1 304 - 0.0013
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /images/panel.png HTTP/1.1 304 - 0.0014
   Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
   /images/login.png HTTP/1.1 304 - 0.0007
   Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET
   /images/login_over.png HTTP/1.1 304 - 0.0006
   Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] POST
   /login HTTP/1.1 204 - 0.0682
   Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET /
   HTTP/1.1 200 4636 0.0065
   Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET
   /vendor/noVNC/include/plain.css HTTP/1.1 404 466 0.0017
   Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
   /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
   Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
   /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistor$
   Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
   /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=4$
   Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 

Re: [one-users] VNC proxy is working but Sustone VNC window does show error

2012-08-23 Thread Пярн Артур
I have found my mistake!
It was silly - Some time ago I pressed Secure websockets connection chekbox 
in configuration tab and forgot about it.
So now it's working!
THANK YOU.

23.08.2012, 17:17, Пярн Артур dekk...@yandex.ru:
 If I go direclty from browser to http://10.18.1.7:35792/
 it shows me in websockify output the following message: Normal web request 
 received but disallowed

 23.08.2012, 16:54, Пярн Артур dekk...@yandex.ru:

  Just in case, my configuration:
  10.2.2.2 - KVM host with VMs
  10.18.1.7 - only OpenNebula and Sunstone front-end

  * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for 
 example) with a standard vnc client

  Yes, with no problem

  If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 35792 
 10.2.2.2:5916, I can't connetct from VNC client to 10.18.1.7:35792, it 
 shows me ignoring socket not ready:

  root@ubuntu:/srv/cloud/one/share/noVNC/utils#  
 /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916
  WARNING: no 'numpy' module, HyBi protocol is slower or disabled
  WebSocket server settings:
    - Listen on :35792
    - Flash security policy server
    - No SSL/TLS support (no cert file)
    - proxying from :35792 to 10.2.2.2:5916

    1: 10.2.0.3: ignoring socket not ready
    2: 10.2.0.3: ignoring socket not ready

  I found that I can connect to 10.18.1.7: 35792 from browser 
 (http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and also 
 websockify 35792 10.2.2.2:5916

  23.08.2012, 16:20, Hector Sanjuan hsanj...@opennebula.org:
   Your working screenshot shows a VNC session to a VM deployed in the same
   host as the sunstone frontend (10.18.1.7:6080), but from sunstone you are
   trying to open connections to VMs in a different host (10.2.2.2). My
   questions then,

   * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 for
   example) with a standard vnc client

   * If you manually launch the proxy with the webserver option like you did,
   would something like
   http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should
   not work if sunstone doesnt. Perhaps you can get some useful info from the
   websockify stdout when attempting it if it doesnt work.

   (in response to your latest email, dont worry about the timeout thing)

   Hector

   En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekk...@yandex.ru
   escribió:
    Sure, logs below. sunstone.error is empty. It's our DEMO network, no
    firewall, so no way.

    --
 Server configuration
    --
    {:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify,
 :auth=sunstone,
 :vnc_proxy_key=nil,
 :vnc_proxy_support_wss=false,
 :debug_level=3,
 :vnc_proxy_base_port=29876,
 :host=0.0.0.0,
 :port=,
 :one_xmlrpc=http://localhost:2633/RPC2;,
 :core_auth=cipher,
 :lang=en_US,
 :vnc_proxy_cert=nil}
    == Sinatra/1.3.2 has taken the stage on  for development with backup
    from Thin
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET /
    HTTP/1.1 200 1595 0.0075
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /css/login.css HTTP/1.1 304 - 0.0022
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /vendor/jQuery/jquery-1.7.1.min.js HTTP/1.1 304 - 0.0019
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /js/opennebula.js HTTP/1.1 304 - 0.0015
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /js/login.js HTTP/1.1 304 - 0.0011
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /images/ajax-loader.gif HTTP/1.1 304 - 0.0006
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /images/opennebula-sunstone-big.png HTTP/1.1 304 - 0.0013
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /images/panel.png HTTP/1.1 304 - 0.0014
    Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET
    /images/login.png HTTP/1.1 304 - 0.0007
    Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET
    /images/login_over.png HTTP/1.1 304 - 0.0006
    Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] POST
    /login HTTP/1.1 204 - 0.0682
    Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET /
    HTTP/1.1 200 4636 0.0065
    Thu Aug 23 12:04:44 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:44] GET
    /vendor/noVNC/include/plain.css HTTP/1.1 404 466 0.0017
    Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET
    /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistor$
    Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET