Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-09-02 Thread Frantisek Kobzik
Hi Grzegorz,

- did you configure ovirt-websocket-proxy using engine-setup tool (i.e. is the 
proxy deployed on same machine as engine is?)? Or do you have some customized 
setup?
- is the proxy running and is the host:port of the proxy accessible?
- did you import Certificate Authority (not only engine certificate) into your 
browser?
- also one _very_ important thing and common mistake: does the Common Name (CN) 
in websocket proxy certificate match to the websocket proxy actual location? 
(this is quite common error - people have certificate issued for 
'my-engine.com' but they are accessing engine/websocket-proxy via ip address 
which results in certificate mismatch...).

Cheers,
Franta.

PS:
There is quite straightforward guide about noVNC on ovirt wiki [1], I suggest 
taking a look at it.

[1]: http://www.ovirt.org/Features/noVNC_console

- Original Message -
From: Grzegorz Szypa grzegorz.sz...@gmail.com
To: Michal Skrivanek michal.skriva...@redhat.com, users@ovirt.org
Sent: Monday, September 1, 2014 12:45:51 PM
Subject: Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM 
(Connect timeout)

i trying to do in ovirt 3.5, but now i don't have time and comeback to ovirt 
3.4 


2014-09-01 12:07 GMT+02:00 Michal Skrivanek  michal.skriva...@redhat.com  : 




On Aug 29, 2014, at 03:38 , Punit Dambiwal  hypu...@gmail.com  wrote: 

 Hi, 
 
 I haven't try it on 3.53.4 it's work... 
 
 Thanks, 
 Punit 
 
 
 On Fri, Aug 29, 2014 at 4:13 AM, Grzegorz Szypa  grzegorz.sz...@gmail.com  
 wrote: 
 Hi. 
 
 I tried to start the connection novnc the new machine, but still the same. 
 Even if I imported the CA certificate and added it to the trusted 
 
 
 2014-08-27 14:50 GMT+02:00 Grzegorz Szypa  grzegorz.sz...@gmail.com : 
 Hi. 
 
 I try do someting and I change to line in: /usr/share/novnc/include/rfb.js 
 def_con_timeout = Websock_native ? 2 : 5, -- def_con_timeout = 
 Websock_native ? 5 : 15, 
 ['disconnectTimeout', 'rw', 'int', 3, 'Time (s) to wait for disconnection'], 
 -- ['disconnectTimeout', 'rw', 'int', 5, 'Time (s) to wait for 
 disconnection'], 
 
 And, 
 
 Before change i get error: Connect timeout 
 After change i get error: Server disconnected (code: 1006) 

are you running the websocket-proxy service on the engine host? 
firewall maybe? 
did you change any configuration from the default (default is on engine:6100)? 

Thanks, 
michal 

 
 
 
 
 
 
 
 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa  grzegorz.sz...@gmail.com : 
 
 Why port 6100. It's not working or maybe it's nothing show. 
 
 
 2014-08-27 14:04 GMT+02:00 Punit Dambiwal  hypu...@gmail.com : 
 
 Hi, 
 
 Are you using the valid SSL or Self signed ?? 
 
 If self-signed then you need to trust this ssl in to your browser first...so 
 please open the following in to another tab of your browser and run the 
 following https://engine:6100 and accept the certificate and close this 
 tab... 
 
 Now click on the console...it should work... 
 
 Thanks, 
 Punit 
 
 
 On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa  grzegorz.sz...@gmail.com  
 wrote: 
 Hi. 
 
 Maybe you could help me with noVNC to VM. I get a error: Connect timeout 
 
 Do I need to install separately VNC server ?? or noVNC 
 -- 
 G.Sz. 
 
 ___ 
 Users mailing list 
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users 
 
 
 
 
 
 -- 
 G.Sz. 
 
 
 
 -- 
 G.Sz. 
 
 
 
 -- 
 G.Sz. 
 
 ___ 
 Users mailing list 
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users 




-- 
G.Sz. 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-09-01 Thread Michal Skrivanek

On Aug 29, 2014, at 03:38 , Punit Dambiwal hypu...@gmail.com wrote:

 Hi,
 
 I haven't try it on 3.53.4 it's work...
 
 Thanks,
 Punit
 
 
 On Fri, Aug 29, 2014 at 4:13 AM, Grzegorz Szypa grzegorz.sz...@gmail.com 
 wrote:
 Hi. 
 
 I tried to start the connection novnc the new machine, but still the same. 
 Even if I imported the CA certificate and added it to the trusted
 
 
 2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:
 Hi.
 
 I try do someting and I change to line in: /usr/share/novnc/include/rfb.js
 def_con_timeout  = Websock_native ? 2 : 5,--  def_con_timeout  = 
 Websock_native ? 5 : 15,
 ['disconnectTimeout',  'rw', 'int', 3,'Time (s) to wait for 
 disconnection'], -- ['disconnectTimeout',  'rw', 'int', 5,'Time 
 (s) to wait for disconnection'],
 
 And, 
 
 Before change i get error: Connect timeout
 After change i get error: Server disconnected (code: 1006)

are you running the websocket-proxy service on the engine host?
firewall maybe?
did you change any configuration from the default (default is on engine:6100)?

Thanks,
michal

 
 
 
 
 
 
 
 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:
 
 Why port 6100. It's not working or maybe it's nothing show.
 
 
 2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com:
 
 Hi,
 
 Are you using the valid SSL or Self signed ??
 
 If self-signed then you need to trust this ssl in to your browser first...so 
 please open the following in to another tab of your browser and run the 
 following https://engine:6100 and accept the certificate and close this tab...
 
 Now click on the console...it should work...
 
 Thanks,
 Punit
 
 
 On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa grzegorz.sz...@gmail.com 
 wrote:
 Hi.
 
 Maybe you could help me with noVNC to VM. I get a error: Connect timeout
 
 Do I need to install separately VNC server ?? or noVNC
 -- 
 G.Sz.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 
 -- 
 G.Sz.
 
 
 
 -- 
 G.Sz.
 
 
 
 -- 
 G.Sz.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-09-01 Thread Grzegorz Szypa
i trying to do in ovirt 3.5, but now i don't have time and comeback to
ovirt 3.4


2014-09-01 12:07 GMT+02:00 Michal Skrivanek michal.skriva...@redhat.com:


 On Aug 29, 2014, at 03:38 , Punit Dambiwal hypu...@gmail.com wrote:

  Hi,
 
  I haven't try it on 3.53.4 it's work...
 
  Thanks,
  Punit
 
 
  On Fri, Aug 29, 2014 at 4:13 AM, Grzegorz Szypa 
 grzegorz.sz...@gmail.com wrote:
  Hi.
 
  I tried to start the connection novnc the new machine, but still the
 same. Even if I imported the CA certificate and added it to the trusted
 
 
  2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:
  Hi.
 
  I try do someting and I change to line in:
 /usr/share/novnc/include/rfb.js
  def_con_timeout  = Websock_native ? 2 : 5,--  def_con_timeout  =
 Websock_native ? 5 : 15,
  ['disconnectTimeout',  'rw', 'int', 3,'Time (s) to wait for
 disconnection'], -- ['disconnectTimeout',  'rw', 'int', 5,
 'Time (s) to wait for disconnection'],
 
  And,
 
  Before change i get error: Connect timeout
  After change i get error: Server disconnected (code: 1006)

 are you running the websocket-proxy service on the engine host?
 firewall maybe?
 did you change any configuration from the default (default is on
 engine:6100)?

 Thanks,
 michal

 
 
 
 
 
 
 
  2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:
 
  Why port 6100. It's not working or maybe it's nothing show.
 
 
  2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com:
 
  Hi,
 
  Are you using the valid SSL or Self signed ??
 
  If self-signed then you need to trust this ssl in to your browser
 first...so please open the following in to another tab of your browser and
 run the following https://engine:6100 and accept the certificate and
 close this tab...
 
  Now click on the console...it should work...
 
  Thanks,
  Punit
 
 
  On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa 
 grzegorz.sz...@gmail.com wrote:
  Hi.
 
  Maybe you could help me with noVNC to VM. I get a error: Connect
 timeout
 
  Do I need to install separately VNC server ?? or noVNC
  --
  G.Sz.
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 
  --
  G.Sz.
 
 
 
  --
  G.Sz.
 
 
 
  --
  G.Sz.
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users




-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-08-28 Thread Grzegorz Szypa
Hi.

I tried to start the connection novnc the new machine, but still the same.
Even if I imported the CA certificate and added it to the trusted


2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:

 Hi.

 I try do someting and I change to line in: /usr/share/novnc/include/rfb.js
 def_con_timeout  = Websock_native ? 2 : 5,--  def_con_timeout  =
 Websock_native ? 5 : 15,
 ['disconnectTimeout',  'rw', 'int', 3,'Time (s) to wait for
 disconnection'], -- ['disconnectTimeout',  'rw', 'int', 5,
  'Time (s) to wait for disconnection'],

 And,

 Before change i get error: Connect timeout
 After change i get error: Server disconnected (code: 1006)







 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:

 Why port 6100. It's not working or maybe it's nothing show.


 2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com:

 Hi,

 Are you using the valid SSL or Self signed ??

 If self-signed then you need to trust this ssl in to your browser
 first...so please open the following in to another tab of your browser and
 run the following https://engine:6100 and accept the certificate and
 close this tab...

 Now click on the console...it should work...

 Thanks,
 Punit


 On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa 
 grzegorz.sz...@gmail.com wrote:

 Hi.

 Maybe you could help me with noVNC to VM. I get a error: Connect
 timeout

 Do I need to install separately VNC server ?? or noVNC
 --
 G.Sz.

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users





 --
 G.Sz.




 --
 G.Sz.




-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-08-28 Thread Punit Dambiwal
Hi,

I haven't try it on 3.53.4 it's work...

Thanks,
Punit


On Fri, Aug 29, 2014 at 4:13 AM, Grzegorz Szypa grzegorz.sz...@gmail.com
wrote:

 Hi.

 I tried to start the connection novnc the new machine, but still the same.
 Even if I imported the CA certificate and added it to the trusted


 2014-08-27 14:50 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:

 Hi.

 I try do someting and I change to line in: /usr/share/novnc/include/rfb.js
 def_con_timeout  = Websock_native ? 2 : 5,--  def_con_timeout  =
 Websock_native ? 5 : 15,
 ['disconnectTimeout',  'rw', 'int', 3,'Time (s) to wait for
 disconnection'], -- ['disconnectTimeout',  'rw', 'int', 5,
  'Time (s) to wait for disconnection'],

 And,

 Before change i get error: Connect timeout
 After change i get error: Server disconnected (code: 1006)







 2014-08-27 14:15 GMT+02:00 Grzegorz Szypa grzegorz.sz...@gmail.com:

 Why port 6100. It's not working or maybe it's nothing show.


 2014-08-27 14:04 GMT+02:00 Punit Dambiwal hypu...@gmail.com:

 Hi,

 Are you using the valid SSL or Self signed ??

 If self-signed then you need to trust this ssl in to your browser
 first...so please open the following in to another tab of your browser and
 run the following https://engine:6100 and accept the certificate and
 close this tab...

 Now click on the console...it should work...

 Thanks,
 Punit


 On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa 
 grzegorz.sz...@gmail.com wrote:

 Hi.

 Maybe you could help me with noVNC to VM. I get a error: Connect
 timeout

 Do I need to install separately VNC server ?? or noVNC
 --
 G.Sz.

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users





 --
 G.Sz.




 --
 G.Sz.




 --
 G.Sz.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-08-27 Thread Grzegorz Szypa
Hi.

Maybe you could help me with noVNC to VM. I get a error: Connect timeout

Do I need to install separately VNC server ?? or noVNC
-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [oVirt 3.5] Problem with connection in noVNC to VM (Connect timeout)

2014-08-27 Thread Punit Dambiwal
Hi,

Are you using the valid SSL or Self signed ??

If self-signed then you need to trust this ssl in to your browser
first...so please open the following in to another tab of your browser and
run the following https://engine:6100 and accept the certificate and close
this tab...

Now click on the console...it should work...

Thanks,
Punit


On Wed, Aug 27, 2014 at 7:56 PM, Grzegorz Szypa grzegorz.sz...@gmail.com
wrote:

 Hi.

 Maybe you could help me with noVNC to VM. I get a error: Connect timeout

 Do I need to install separately VNC server ?? or noVNC
 --
 G.Sz.

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users