Re: [ovirt-users] noVNC error

2015-09-21 Thread Donny Davis
downgrade the novnc package
http://lists.ovirt.org/pipermail/users/2015-May/032933.html

Cheers
Donny D

On Mon, Sep 21, 2015 at 1:13 PM, Michael Kleinpaste <
michael.kleinpa...@sharperlending.com> wrote:

> So when I used oVirt 3.4.x noVNC worked wonderfully.  We're running
> 3.5.1.1-1.el6 now and when I try to connect to a VMs console via noVNC I
> get this error.
>
> [image: Screen Shot 2015-09-21 at 10.09.23 AM.png]
> I've downloaded the ca.crt file and installed it but I still get an HTTPS
> error when connecting to the oVirt management console.  Looking at the SSL
> information Chrome says the following:
>
> "The identity of this website has been verified by
> ovirtm01.sharperlending.aws.96747. No Certificate Transparency information
> was supplied by the server.
>
> The certificate chain for this website contains at least one certificate
> that was signed using a deprecated signature algorithm based on SHA-1."
>
> Is this a known issue?
>
> Thanks,
> --
> *Michael Kleinpaste*
> Senior Systems Administrator
> SharperLending, LLC.
> www.SharperLending.com
> michael.kleinpa...@sharperlending.com
> (509) 324-1230   Fax: (509) 324-1234
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


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


Re: [ovirt-users] noVNC error

2015-09-21 Thread Michael Kleinpaste
Thanks Donny!  That's exactly what needed to be done!  I appreciate the
help!

"yum downgrade novnc" dropped it from 0.5.1-2.el6 to 0.4-7.el6.


On Mon, Sep 21, 2015 at 10:29 AM Donny Davis  wrote:

> downgrade the novnc package
> http://lists.ovirt.org/pipermail/users/2015-May/032933.html
>
> Cheers
> Donny D
>
> On Mon, Sep 21, 2015 at 1:13 PM, Michael Kleinpaste <
> michael.kleinpa...@sharperlending.com> wrote:
>
>> So when I used oVirt 3.4.x noVNC worked wonderfully.  We're running
>> 3.5.1.1-1.el6 now and when I try to connect to a VMs console via noVNC I
>> get this error.
>>
>> [image: Screen Shot 2015-09-21 at 10.09.23 AM.png]
>> I've downloaded the ca.crt file and installed it but I still get an HTTPS
>> error when connecting to the oVirt management console.  Looking at the SSL
>> information Chrome says the following:
>>
>> "The identity of this website has been verified by
>> ovirtm01.sharperlending.aws.96747. No Certificate Transparency information
>> was supplied by the server.
>>
>> The certificate chain for this website contains at least one certificate
>> that was signed using a deprecated signature algorithm based on SHA-1."
>>
>> Is this a known issue?
>>
>> Thanks,
>> --
>> *Michael Kleinpaste*
>> Senior Systems Administrator
>> SharperLending, LLC.
>> www.SharperLending.com
>> michael.kleinpa...@sharperlending.com
>> (509) 324-1230   Fax: (509) 324-1234
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Donny Davis
>
> --
*Michael Kleinpaste*
Senior Systems Administrator
SharperLending, LLC.
www.SharperLending.com
michael.kleinpa...@sharperlending.com
(509) 324-1230   Fax: (509) 324-1234
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] novnc error

2014-06-13 Thread Alon Bar-Lev
Frantisek,

Can you please help? there seems to have incompatibility with SimpleHTTPServer?
Or use of undocumented feature?

Alon

- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Friday, June 13, 2014 12:50:30 AM
 Subject: Re: [ovirt-users] novnc error
 
 Python-websockify - 0.5.1-1.e16.no arch
 
 Numpy isn't installed
 On Jun 12, 2014 5:15 PM, Alon Bar-Lev alo...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: Alon Bar-Lev alo...@redhat.com
   Cc: users@ovirt.org
   Sent: Friday, June 13, 2014 12:12:28 AM
   Subject: Re: [ovirt-users] novnc error
  
   I've checked /var/log/messages a few times, but it doesn't seem like much
   is being written to it; the last entry I have is from ~6 hours ago.
  
   When running
  
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
   --debug start I see the following information as the service is
  starting:
  
   WARNING: no 'numpy' module, HyBi protocol will be slower
   ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
   ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
   ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
   '/usr/share/ovirt-
   engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
   ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
   '/etc/ovirt-engine
   /ovirt-websocket-proxy.conf.d/10-setup.conf'
   ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
   ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
   WebSocket server settings:
 - Listen on *:6100
 - Flash security policy server
 - SSL/TLS support
 - Deny non-SSL/TLS connections
 - proxying from *:6100 to targets in /dummy
  
  
  
   I see the following info after I attempted a novnc connection through the
   browser:
  
   1: 10.255.239.1: new handler Process
   1: handler exception: WSRequestHandler instance has no attribute
  'last_code'
   1: Traceback (most recent call last):
   File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
  696,
   in top_new_client
 self.client = self.do_handshake(startsock, address)
   File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
  628,
   in do_handshake
 if wsh.last_code == 101:
   AttributeError: WSRequestHandler instance has no attribute 'last_code'
  
  
 
  What version of python-websockify do you have?
  What version of numpy do you have (if any)?
 
   Thanks!
  
  
   On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev alo...@redhat.com wrote:
  
   
   
- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:49:50 PM
 Subject: Re: [ovirt-users] novnc error

 It looks like a blank page loads.  Just tried this in both Chrome and
 Internet Explorer, and got the same result.

 The proxy is installed locally on the ovirt server, by the way.  Nmap
shows
 port 6100 TCP listening.
   
do you see anything relevant at /var/log/messages?
   
try to stop the ovirt-websocket-proxy service and run it in debug mode:
   
# su - -s /bin/sh ovirt
$
   
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
--debug start
   
see what you get.
   

 Thanks for the quick response!
 On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:

 
 
  - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: users@ovirt.org
   Sent: Thursday, June 12, 2014 11:33:09 PM
   Subject: [ovirt-users] novnc error
  
   Hello everyone,
  
   I'm running into an error getting novnc up and running with
  ovirt,
and
  I'm
   hoping someone can help.
  
   My system is a CentOS minimal x86_64 install running ovirt fine.
  I
have
   created VMs and I'm able to configure the console options. When I
  attempt to
   connect to them, however, I get a Server disconnected (code:
  1006)
error.
   I've searched online for a solution, but everything seems to
  point to
  simply
   running the engine-setup configuration utility and installing the
  ca.crt. I
   have tried both of these things, but I keep getting the same
message, in
   Internet Explorer, Chrome and Firefox.
  
   Disabled iptables and selinux.
   Connected directly to VM with VNC
   Checked ovirt-websocket-proxy, and it is running - haven't
  touched
config
   file - SSL=true
   Installed ca.crt - multiple times
   Reinstalled ovirt - clean first, the reinstall.
   Reinstalled ca.crt
  
   Nothing has helped so far. Does anyone have any ideas? I have a
   straight-forward setup using

Re: [ovirt-users] novnc error

2014-06-13 Thread Frantisek Kobzik
Hi guys,

I actually use the same version of websockify without problems (but on Fedora). 
For me this looks like some problem with certificates. Let me investigate 
further.

F.


- Original Message -
From: Alon Bar-Lev alo...@redhat.com
To: Garrett Baltezegar my9...@gmail.com, Frantisek Kobzik 
fkob...@redhat.com
Cc: users@ovirt.org
Sent: Friday, June 13, 2014 8:16:08 AM
Subject: Re: [ovirt-users] novnc error

Frantisek,

Can you please help? there seems to have incompatibility with SimpleHTTPServer?
Or use of undocumented feature?

Alon

- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Friday, June 13, 2014 12:50:30 AM
 Subject: Re: [ovirt-users] novnc error
 
 Python-websockify - 0.5.1-1.e16.no arch
 
 Numpy isn't installed
 On Jun 12, 2014 5:15 PM, Alon Bar-Lev alo...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: Alon Bar-Lev alo...@redhat.com
   Cc: users@ovirt.org
   Sent: Friday, June 13, 2014 12:12:28 AM
   Subject: Re: [ovirt-users] novnc error
  
   I've checked /var/log/messages a few times, but it doesn't seem like much
   is being written to it; the last entry I have is from ~6 hours ago.
  
   When running
  
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
   --debug start I see the following information as the service is
  starting:
  
   WARNING: no 'numpy' module, HyBi protocol will be slower
   ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
   ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
   ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
   '/usr/share/ovirt-
   engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
   ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
   '/etc/ovirt-engine
   /ovirt-websocket-proxy.conf.d/10-setup.conf'
   ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
   ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
   WebSocket server settings:
 - Listen on *:6100
 - Flash security policy server
 - SSL/TLS support
 - Deny non-SSL/TLS connections
 - proxying from *:6100 to targets in /dummy
  
  
  
   I see the following info after I attempted a novnc connection through the
   browser:
  
   1: 10.255.239.1: new handler Process
   1: handler exception: WSRequestHandler instance has no attribute
  'last_code'
   1: Traceback (most recent call last):
   File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
  696,
   in top_new_client
 self.client = self.do_handshake(startsock, address)
   File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
  628,
   in do_handshake
 if wsh.last_code == 101:
   AttributeError: WSRequestHandler instance has no attribute 'last_code'
  
  
 
  What version of python-websockify do you have?
  What version of numpy do you have (if any)?
 
   Thanks!
  
  
   On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev alo...@redhat.com wrote:
  
   
   
- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:49:50 PM
 Subject: Re: [ovirt-users] novnc error

 It looks like a blank page loads.  Just tried this in both Chrome and
 Internet Explorer, and got the same result.

 The proxy is installed locally on the ovirt server, by the way.  Nmap
shows
 port 6100 TCP listening.
   
do you see anything relevant at /var/log/messages?
   
try to stop the ovirt-websocket-proxy service and run it in debug mode:
   
# su - -s /bin/sh ovirt
$
   
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
--debug start
   
see what you get.
   

 Thanks for the quick response!
 On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:

 
 
  - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: users@ovirt.org
   Sent: Thursday, June 12, 2014 11:33:09 PM
   Subject: [ovirt-users] novnc error
  
   Hello everyone,
  
   I'm running into an error getting novnc up and running with
  ovirt,
and
  I'm
   hoping someone can help.
  
   My system is a CentOS minimal x86_64 install running ovirt fine.
  I
have
   created VMs and I'm able to configure the console options. When I
  attempt to
   connect to them, however, I get a Server disconnected (code:
  1006)
error.
   I've searched online for a solution, but everything seems to
  point to
  simply
   running the engine-setup configuration utility and installing the
  ca.crt. I
   have tried both of these things, but I keep getting the same
message, in
   Internet Explorer, Chrome and Firefox

Re: [ovirt-users] novnc error

2014-06-13 Thread Frantisek Kobzik
Hi Garrett,

just a question about accessing the engine via the browser: do you access 
engine via the fqdn you typed in in the engine-setup? For instance, if you 
issue the certificates for 'mycompany.com' and use let's say ip address in the 
browser, websockify won't work...

Cheers,
Franta


- Original Message -
From: Garrett Baltezegar my9...@gmail.com
To: Alon Bar-Lev alo...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, June 12, 2014 11:50:30 PM
Subject: Re: [ovirt-users] novnc error



Python-websockify - 0.5.1-1.e16.no arch 

Numpy isn't installed 
On Jun 12, 2014 5:15 PM, Alon Bar-Lev  alo...@redhat.com  wrote: 




- Original Message - 
 From: Garrett Baltezegar  my9...@gmail.com  
 To: Alon Bar-Lev  alo...@redhat.com  
 Cc: users@ovirt.org 
 Sent: Friday, June 13, 2014 12:12:28 AM 
 Subject: Re: [ovirt-users] novnc error 
 
 I've checked /var/log/messages a few times, but it doesn't seem like much 
 is being written to it; the last entry I have is from ~6 hours ago. 
 
 When running 
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
  
 --debug start I see the following information as the service is starting: 
 
 WARNING: no 'numpy' module, HyBi protocol will be slower 
 ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511 
 ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False 
 ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config 
 '/usr/share/ovirt- 
 engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf' 
 ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config 
 '/etc/ovirt-engine 
 /ovirt-websocket-proxy.conf.d/10-setup.conf' 
 ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511 
 ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits 
 WebSocket server settings: 
 - Listen on *:6100 
 - Flash security policy server 
 - SSL/TLS support 
 - Deny non-SSL/TLS connections 
 - proxying from *:6100 to targets in /dummy 
 
 
 
 I see the following info after I attempted a novnc connection through the 
 browser: 
 
 1: 10.255.239.1 : new handler Process 
 1: handler exception: WSRequestHandler instance has no attribute 'last_code' 
 1: Traceback (most recent call last): 
 File /usr/lib/python2.6/site-packages/websockify/websocket.py, line 696, 
 in top_new_client 
 self.client = self.do_handshake(startsock, address) 
 File /usr/lib/python2.6/site-packages/websockify/websocket.py, line 628, 
 in do_handshake 
 if wsh.last_code == 101: 
 AttributeError: WSRequestHandler instance has no attribute 'last_code' 
 
 

What version of python-websockify do you have? 
What version of numpy do you have (if any)? 

 Thanks! 
 
 
 On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev  alo...@redhat.com  wrote: 
 
  
  
  - Original Message - 
   From: Garrett Baltezegar  my9...@gmail.com  
   To: Alon Bar-Lev  alo...@redhat.com  
   Cc: users@ovirt.org 
   Sent: Thursday, June 12, 2014 11:49:50 PM 
   Subject: Re: [ovirt-users] novnc error 
   
   It looks like a blank page loads. Just tried this in both Chrome and 
   Internet Explorer, and got the same result. 
   
   The proxy is installed locally on the ovirt server, by the way. Nmap 
  shows 
   port 6100 TCP listening. 
  
  do you see anything relevant at /var/log/messages? 
  
  try to stop the ovirt-websocket-proxy service and run it in debug mode: 
  
  # su - -s /bin/sh ovirt 
  $ 
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
   
  --debug start 
  
  see what you get. 
  
   
   Thanks for the quick response! 
   On Jun 12, 2014 4:39 PM, Alon Bar-Lev  alo...@redhat.com  wrote: 
   


- Original Message - 
 From: Garrett Baltezegar  my9...@gmail.com  
 To: users@ovirt.org 
 Sent: Thursday, June 12, 2014 11:33:09 PM 
 Subject: [ovirt-users] novnc error 
 
 Hello everyone, 
 
 I'm running into an error getting novnc up and running with ovirt, 
  and 
I'm 
 hoping someone can help. 
 
 My system is a CentOS minimal x86_64 install running ovirt fine. I 
  have 
 created VMs and I'm able to configure the console options. When I 
attempt to 
 connect to them, however, I get a Server disconnected (code: 1006) 
  error. 
 I've searched online for a solution, but everything seems to point to 
simply 
 running the engine-setup configuration utility and installing the 
ca.crt. I 
 have tried both of these things, but I keep getting the same 
  message, in 
 Internet Explorer, Chrome and Firefox. 
 
 Disabled iptables and selinux. 
 Connected directly to VM with VNC 
 Checked ovirt-websocket-proxy, and it is running - haven't touched 
  config 
 file - SSL=true 
 Installed ca.crt - multiple times 
 Reinstalled ovirt - clean first, the reinstall. 
 Reinstalled ca.crt 
 
 Nothing has helped so far. Does anyone have any ideas? I have a 
 straight-forward

Re: [ovirt-users] novnc error

2014-06-13 Thread Frantisek Kobzik
Great, I'm happy that it's working now!

Cheers,
Franta.


- Original Message -
From: Garrett Baltezegar my9...@gmail.com
To: Frantisek Kobzik fkob...@redhat.com
Cc: Alon Bar-Lev alo...@redhat.com, users@ovirt.org
Sent: Friday, June 13, 2014 2:26:06 PM
Subject: Re: [ovirt-users] novnc error

Our local Linux ninja rebuilt the underlying server from scratch last
night, to fix another storage issue we were having.  While he was testing
the storage FIX, he discovered that novnc is up and running this morning.
 There must have been a bad configuration somewhere along the way that was
causing the problem.  To confirm, however, I tested with IP and FQDN, and
only FQDN works, as it should, I believe.

I really appreciate everyone's help on this problem!!


On Fri, Jun 13, 2014 at 8:10 AM, Frantisek Kobzik fkob...@redhat.com
wrote:

 Hi Garrett,

 just a question about accessing the engine via the browser: do you access
 engine via the fqdn you typed in in the engine-setup? For instance, if you
 issue the certificates for 'mycompany.com' and use let's say ip address
 in the browser, websockify won't work...

 Cheers,
 Franta


 - Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:50:30 PM
 Subject: Re: [ovirt-users] novnc error



 Python-websockify - 0.5.1-1.e16.no arch

 Numpy isn't installed
 On Jun 12, 2014 5:15 PM, Alon Bar-Lev  alo...@redhat.com  wrote:




 - Original Message -
  From: Garrett Baltezegar  my9...@gmail.com 
  To: Alon Bar-Lev  alo...@redhat.com 
  Cc: users@ovirt.org
  Sent: Friday, June 13, 2014 12:12:28 AM
  Subject: Re: [ovirt-users] novnc error
 
  I've checked /var/log/messages a few times, but it doesn't seem like much
  is being written to it; the last entry I have is from ~6 hours ago.
 
  When running
 
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
  --debug start I see the following information as the service is
 starting:
 
  WARNING: no 'numpy' module, HyBi protocol will be slower
  ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
  ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
  ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
  '/usr/share/ovirt-
  engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
  ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
  '/etc/ovirt-engine
  /ovirt-websocket-proxy.conf.d/10-setup.conf'
  ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
  ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
  WebSocket server settings:
  - Listen on *:6100
  - Flash security policy server
  - SSL/TLS support
  - Deny non-SSL/TLS connections
  - proxying from *:6100 to targets in /dummy
 
 
 
  I see the following info after I attempted a novnc connection through the
  browser:
 
  1: 10.255.239.1 : new handler Process
  1: handler exception: WSRequestHandler instance has no attribute
 'last_code'
  1: Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
 696,
  in top_new_client
  self.client = self.do_handshake(startsock, address)
  File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
 628,
  in do_handshake
  if wsh.last_code == 101:
  AttributeError: WSRequestHandler instance has no attribute 'last_code'
 
 

 What version of python-websockify do you have?
 What version of numpy do you have (if any)?

  Thanks!
 
 
  On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev  alo...@redhat.com 
 wrote:
 
  
  
   - Original Message -
From: Garrett Baltezegar  my9...@gmail.com 
To: Alon Bar-Lev  alo...@redhat.com 
Cc: users@ovirt.org
Sent: Thursday, June 12, 2014 11:49:50 PM
Subject: Re: [ovirt-users] novnc error
   
It looks like a blank page loads. Just tried this in both Chrome and
Internet Explorer, and got the same result.
   
The proxy is installed locally on the ovirt server, by the way. Nmap
   shows
port 6100 TCP listening.
  
   do you see anything relevant at /var/log/messages?
  
   try to stop the ovirt-websocket-proxy service and run it in debug mode:
  
   # su - -s /bin/sh ovirt
   $
  
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
   --debug start
  
   see what you get.
  
   
Thanks for the quick response!
On Jun 12, 2014 4:39 PM, Alon Bar-Lev  alo...@redhat.com  wrote:
   


 - Original Message -
  From: Garrett Baltezegar  my9...@gmail.com 
  To: users@ovirt.org
  Sent: Thursday, June 12, 2014 11:33:09 PM
  Subject: [ovirt-users] novnc error
 
  Hello everyone,
 
  I'm running into an error getting novnc up and running with
 ovirt,
   and
 I'm
  hoping someone can help.
 
  My system is a CentOS minimal x86_64 install running ovirt fine.
 I
   have
  created VMs

Re: [ovirt-users] novnc error

2014-06-13 Thread Alon Bar-Lev


- Original Message -
 From: Frantisek Kobzik fkob...@redhat.com
 To: Garrett Baltezegar my9...@gmail.com
 Cc: Alon Bar-Lev alo...@redhat.com, users@ovirt.org
 Sent: Friday, June 13, 2014 3:34:42 PM
 Subject: Re: [ovirt-users] novnc error
 
 Great, I'm happy that it's working now!

Regardless, we should reproduce this exception and see if it is relevant to 
upstream.

 
 Cheers,
 Franta.
 
 
 - Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Frantisek Kobzik fkob...@redhat.com
 Cc: Alon Bar-Lev alo...@redhat.com, users@ovirt.org
 Sent: Friday, June 13, 2014 2:26:06 PM
 Subject: Re: [ovirt-users] novnc error
 
 Our local Linux ninja rebuilt the underlying server from scratch last
 night, to fix another storage issue we were having.  While he was testing
 the storage FIX, he discovered that novnc is up and running this morning.
  There must have been a bad configuration somewhere along the way that was
 causing the problem.  To confirm, however, I tested with IP and FQDN, and
 only FQDN works, as it should, I believe.
 
 I really appreciate everyone's help on this problem!!
 
 
 On Fri, Jun 13, 2014 at 8:10 AM, Frantisek Kobzik fkob...@redhat.com
 wrote:
 
  Hi Garrett,
 
  just a question about accessing the engine via the browser: do you access
  engine via the fqdn you typed in in the engine-setup? For instance, if you
  issue the certificates for 'mycompany.com' and use let's say ip address
  in the browser, websockify won't work...
 
  Cheers,
  Franta
 
 
  - Original Message -
  From: Garrett Baltezegar my9...@gmail.com
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, June 12, 2014 11:50:30 PM
  Subject: Re: [ovirt-users] novnc error
 
 
 
  Python-websockify - 0.5.1-1.e16.no arch
 
  Numpy isn't installed
  On Jun 12, 2014 5:15 PM, Alon Bar-Lev  alo...@redhat.com  wrote:
 
 
 
 
  - Original Message -
   From: Garrett Baltezegar  my9...@gmail.com 
   To: Alon Bar-Lev  alo...@redhat.com 
   Cc: users@ovirt.org
   Sent: Friday, June 13, 2014 12:12:28 AM
   Subject: Re: [ovirt-users] novnc error
  
   I've checked /var/log/messages a few times, but it doesn't seem like much
   is being written to it; the last entry I have is from ~6 hours ago.
  
   When running
  
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
   --debug start I see the following information as the service is
  starting:
  
   WARNING: no 'numpy' module, HyBi protocol will be slower
   ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
   ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
   ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
   '/usr/share/ovirt-
   engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
   ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
   '/etc/ovirt-engine
   /ovirt-websocket-proxy.conf.d/10-setup.conf'
   ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
   ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
   WebSocket server settings:
   - Listen on *:6100
   - Flash security policy server
   - SSL/TLS support
   - Deny non-SSL/TLS connections
   - proxying from *:6100 to targets in /dummy
  
  
  
   I see the following info after I attempted a novnc connection through the
   browser:
  
   1: 10.255.239.1 : new handler Process
   1: handler exception: WSRequestHandler instance has no attribute
  'last_code'
   1: Traceback (most recent call last):
   File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
  696,
   in top_new_client
   self.client = self.do_handshake(startsock, address)
   File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
  628,
   in do_handshake
   if wsh.last_code == 101:
   AttributeError: WSRequestHandler instance has no attribute 'last_code'
  
  
 
  What version of python-websockify do you have?
  What version of numpy do you have (if any)?
 
   Thanks!
  
  
   On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev  alo...@redhat.com 
  wrote:
  
   
   
- Original Message -
 From: Garrett Baltezegar  my9...@gmail.com 
 To: Alon Bar-Lev  alo...@redhat.com 
 Cc: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:49:50 PM
 Subject: Re: [ovirt-users] novnc error

 It looks like a blank page loads. Just tried this in both Chrome and
 Internet Explorer, and got the same result.

 The proxy is installed locally on the ovirt server, by the way. Nmap
shows
 port 6100 TCP listening.
   
do you see anything relevant at /var/log/messages?
   
try to stop the ovirt-websocket-proxy service and run it in debug mode:
   
# su - -s /bin/sh ovirt
$
   
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
--debug start
   
see what you get.
   

 Thanks for the quick response!
 On Jun 12, 2014 4:39 PM, Alon Bar-Lev  alo...@redhat.com

Re: [ovirt-users] novnc error

2014-06-13 Thread Garrett Baltezegar
If I can help by providing any additional information about our current
network or system setup for your testing purposes , please let me know!
On Jun 13, 2014 8:36 AM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Frantisek Kobzik fkob...@redhat.com
  To: Garrett Baltezegar my9...@gmail.com
  Cc: Alon Bar-Lev alo...@redhat.com, users@ovirt.org
  Sent: Friday, June 13, 2014 3:34:42 PM
  Subject: Re: [ovirt-users] novnc error
 
  Great, I'm happy that it's working now!

 Regardless, we should reproduce this exception and see if it is relevant
 to upstream.

 
  Cheers,
  Franta.
 
 
  - Original Message -
  From: Garrett Baltezegar my9...@gmail.com
  To: Frantisek Kobzik fkob...@redhat.com
  Cc: Alon Bar-Lev alo...@redhat.com, users@ovirt.org
  Sent: Friday, June 13, 2014 2:26:06 PM
  Subject: Re: [ovirt-users] novnc error
 
  Our local Linux ninja rebuilt the underlying server from scratch last
  night, to fix another storage issue we were having.  While he was testing
  the storage FIX, he discovered that novnc is up and running this morning.
   There must have been a bad configuration somewhere along the way that
 was
  causing the problem.  To confirm, however, I tested with IP and FQDN, and
  only FQDN works, as it should, I believe.
 
  I really appreciate everyone's help on this problem!!
 
 
  On Fri, Jun 13, 2014 at 8:10 AM, Frantisek Kobzik fkob...@redhat.com
  wrote:
 
   Hi Garrett,
  
   just a question about accessing the engine via the browser: do you
 access
   engine via the fqdn you typed in in the engine-setup? For instance, if
 you
   issue the certificates for 'mycompany.com' and use let's say ip
 address
   in the browser, websockify won't work...
  
   Cheers,
   Franta
  
  
   - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: Alon Bar-Lev alo...@redhat.com
   Cc: users@ovirt.org
   Sent: Thursday, June 12, 2014 11:50:30 PM
   Subject: Re: [ovirt-users] novnc error
  
  
  
   Python-websockify - 0.5.1-1.e16.no arch
  
   Numpy isn't installed
   On Jun 12, 2014 5:15 PM, Alon Bar-Lev  alo...@redhat.com  wrote:
  
  
  
  
   - Original Message -
From: Garrett Baltezegar  my9...@gmail.com 
To: Alon Bar-Lev  alo...@redhat.com 
Cc: users@ovirt.org
Sent: Friday, June 13, 2014 12:12:28 AM
Subject: Re: [ovirt-users] novnc error
   
I've checked /var/log/messages a few times, but it doesn't seem like
 much
is being written to it; the last entry I have is from ~6 hours ago.
   
When running
   
  
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
--debug start I see the following information as the service is
   starting:
   
WARNING: no 'numpy' module, HyBi protocol will be slower
ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
'/usr/share/ovirt-
engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
'/etc/ovirt-engine
/ovirt-websocket-proxy.conf.d/10-setup.conf'
ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
WebSocket server settings:
- Listen on *:6100
- Flash security policy server
- SSL/TLS support
- Deny non-SSL/TLS connections
- proxying from *:6100 to targets in /dummy
   
   
   
I see the following info after I attempted a novnc connection
 through the
browser:
   
1: 10.255.239.1 : new handler Process
1: handler exception: WSRequestHandler instance has no attribute
   'last_code'
1: Traceback (most recent call last):
File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
   696,
in top_new_client
self.client = self.do_handshake(startsock, address)
File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
   628,
in do_handshake
if wsh.last_code == 101:
AttributeError: WSRequestHandler instance has no attribute
 'last_code'
   
   
  
   What version of python-websockify do you have?
   What version of numpy do you have (if any)?
  
Thanks!
   
   
On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev  alo...@redhat.com 
   wrote:
   


 - Original Message -
  From: Garrett Baltezegar  my9...@gmail.com 
  To: Alon Bar-Lev  alo...@redhat.com 
  Cc: users@ovirt.org
  Sent: Thursday, June 12, 2014 11:49:50 PM
  Subject: Re: [ovirt-users] novnc error
 
  It looks like a blank page loads. Just tried this in both Chrome
 and
  Internet Explorer, and got the same result.
 
  The proxy is installed locally on the ovirt server, by the way.
 Nmap
 shows
  port 6100 TCP listening.

 do you see anything relevant at /var/log/messages

Re: [ovirt-users] novnc error

2014-06-12 Thread Alon Bar-Lev


- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:33:09 PM
 Subject: [ovirt-users] novnc error
 
 Hello everyone,
 
 I'm running into an error getting novnc up and running with ovirt, and I'm
 hoping someone can help.
 
 My system is a CentOS minimal x86_64 install running ovirt fine. I have
 created VMs and I'm able to configure the console options. When I attempt to
 connect to them, however, I get a Server disconnected (code: 1006) error.
 I've searched online for a solution, but everything seems to point to simply
 running the engine-setup configuration utility and installing the ca.crt. I
 have tried both of these things, but I keep getting the same message, in
 Internet Explorer, Chrome and Firefox.
 
 Disabled iptables and selinux.
 Connected directly to VM with VNC
 Checked ovirt-websocket-proxy, and it is running - haven't touched config
 file - SSL=true
 Installed ca.crt - multiple times
 Reinstalled ovirt - clean first, the reinstall.
 Reinstalled ca.crt
 
 Nothing has helped so far. Does anyone have any ideas? I have a
 straight-forward setup using engine-setup; accepting the default answer most
 of the time. GlusterFS being one of the non-defaults.
 
 I appreciate your suggestions!

What happens if you access port 6100 at engine machine?

 https://host:6100

 
 GB
 
 ___
 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] novnc error

2014-06-12 Thread Garrett Baltezegar
It looks like a blank page loads.  Just tried this in both Chrome and
Internet Explorer, and got the same result.

The proxy is installed locally on the ovirt server, by the way.  Nmap shows
port 6100 TCP listening.

Thanks for the quick response!
On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Garrett Baltezegar my9...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, June 12, 2014 11:33:09 PM
  Subject: [ovirt-users] novnc error
 
  Hello everyone,
 
  I'm running into an error getting novnc up and running with ovirt, and
 I'm
  hoping someone can help.
 
  My system is a CentOS minimal x86_64 install running ovirt fine. I have
  created VMs and I'm able to configure the console options. When I
 attempt to
  connect to them, however, I get a Server disconnected (code: 1006) error.
  I've searched online for a solution, but everything seems to point to
 simply
  running the engine-setup configuration utility and installing the
 ca.crt. I
  have tried both of these things, but I keep getting the same message, in
  Internet Explorer, Chrome and Firefox.
 
  Disabled iptables and selinux.
  Connected directly to VM with VNC
  Checked ovirt-websocket-proxy, and it is running - haven't touched config
  file - SSL=true
  Installed ca.crt - multiple times
  Reinstalled ovirt - clean first, the reinstall.
  Reinstalled ca.crt
 
  Nothing has helped so far. Does anyone have any ideas? I have a
  straight-forward setup using engine-setup; accepting the default answer
 most
  of the time. GlusterFS being one of the non-defaults.
 
  I appreciate your suggestions!

 What happens if you access port 6100 at engine machine?

  https://host:6100

 
  GB
 
  ___
  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] novnc error

2014-06-12 Thread Alon Bar-Lev


- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:49:50 PM
 Subject: Re: [ovirt-users] novnc error
 
 It looks like a blank page loads.  Just tried this in both Chrome and
 Internet Explorer, and got the same result.
 
 The proxy is installed locally on the ovirt server, by the way.  Nmap shows
 port 6100 TCP listening.

do you see anything relevant at /var/log/messages?

try to stop the ovirt-websocket-proxy service and run it in debug mode:

# su - -s /bin/sh ovirt
$ 
/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py 
--debug start

see what you get.

 
 Thanks for the quick response!
 On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: users@ovirt.org
   Sent: Thursday, June 12, 2014 11:33:09 PM
   Subject: [ovirt-users] novnc error
  
   Hello everyone,
  
   I'm running into an error getting novnc up and running with ovirt, and
  I'm
   hoping someone can help.
  
   My system is a CentOS minimal x86_64 install running ovirt fine. I have
   created VMs and I'm able to configure the console options. When I
  attempt to
   connect to them, however, I get a Server disconnected (code: 1006) error.
   I've searched online for a solution, but everything seems to point to
  simply
   running the engine-setup configuration utility and installing the
  ca.crt. I
   have tried both of these things, but I keep getting the same message, in
   Internet Explorer, Chrome and Firefox.
  
   Disabled iptables and selinux.
   Connected directly to VM with VNC
   Checked ovirt-websocket-proxy, and it is running - haven't touched config
   file - SSL=true
   Installed ca.crt - multiple times
   Reinstalled ovirt - clean first, the reinstall.
   Reinstalled ca.crt
  
   Nothing has helped so far. Does anyone have any ideas? I have a
   straight-forward setup using engine-setup; accepting the default answer
  most
   of the time. GlusterFS being one of the non-defaults.
  
   I appreciate your suggestions!
 
  What happens if you access port 6100 at engine machine?
 
   https://host:6100
 
  
   GB
  
   ___
   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] novnc error

2014-06-12 Thread Garrett Baltezegar
I've checked /var/log/messages a few times, but it doesn't seem like much
is being written to it; the last entry I have is from ~6 hours ago.

When running 
/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
--debug start I see the following information as the service is starting:

WARNING: no 'numpy' module, HyBi protocol will be slower
ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
'/usr/share/ovirt-
engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
'/etc/ovirt-engine
/ovirt-websocket-proxy.conf.d/10-setup.conf'
ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
WebSocket server settings:
  - Listen on *:6100
  - Flash security policy server
  - SSL/TLS support
  - Deny non-SSL/TLS connections
  - proxying from *:6100 to targets in /dummy



I see the following info after I attempted a novnc connection through the
browser:

1: 10.255.239.1: new handler Process
1: handler exception: WSRequestHandler instance has no attribute 'last_code'
1: Traceback (most recent call last):
File /usr/lib/python2.6/site-packages/websockify/websocket.py, line 696,
in top_new_client
  self.client = self.do_handshake(startsock, address)
File /usr/lib/python2.6/site-packages/websockify/websocket.py, line 628,
in do_handshake
  if wsh.last_code == 101:
AttributeError: WSRequestHandler instance has no attribute 'last_code'


Thanks!


On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Garrett Baltezegar my9...@gmail.com
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, June 12, 2014 11:49:50 PM
  Subject: Re: [ovirt-users] novnc error
 
  It looks like a blank page loads.  Just tried this in both Chrome and
  Internet Explorer, and got the same result.
 
  The proxy is installed locally on the ovirt server, by the way.  Nmap
 shows
  port 6100 TCP listening.

 do you see anything relevant at /var/log/messages?

 try to stop the ovirt-websocket-proxy service and run it in debug mode:

 # su - -s /bin/sh ovirt
 $
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
 --debug start

 see what you get.

 
  Thanks for the quick response!
  On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:
 
  
  
   - Original Message -
From: Garrett Baltezegar my9...@gmail.com
To: users@ovirt.org
Sent: Thursday, June 12, 2014 11:33:09 PM
Subject: [ovirt-users] novnc error
   
Hello everyone,
   
I'm running into an error getting novnc up and running with ovirt,
 and
   I'm
hoping someone can help.
   
My system is a CentOS minimal x86_64 install running ovirt fine. I
 have
created VMs and I'm able to configure the console options. When I
   attempt to
connect to them, however, I get a Server disconnected (code: 1006)
 error.
I've searched online for a solution, but everything seems to point to
   simply
running the engine-setup configuration utility and installing the
   ca.crt. I
have tried both of these things, but I keep getting the same
 message, in
Internet Explorer, Chrome and Firefox.
   
Disabled iptables and selinux.
Connected directly to VM with VNC
Checked ovirt-websocket-proxy, and it is running - haven't touched
 config
file - SSL=true
Installed ca.crt - multiple times
Reinstalled ovirt - clean first, the reinstall.
Reinstalled ca.crt
   
Nothing has helped so far. Does anyone have any ideas? I have a
straight-forward setup using engine-setup; accepting the default
 answer
   most
of the time. GlusterFS being one of the non-defaults.
   
I appreciate your suggestions!
  
   What happens if you access port 6100 at engine machine?
  
https://host:6100
  
   
GB
   
___
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] novnc error

2014-06-12 Thread Alon Bar-Lev


- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Friday, June 13, 2014 12:12:28 AM
 Subject: Re: [ovirt-users] novnc error
 
 I've checked /var/log/messages a few times, but it doesn't seem like much
 is being written to it; the last entry I have is from ~6 hours ago.
 
 When running
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
 --debug start I see the following information as the service is starting:
 
 WARNING: no 'numpy' module, HyBi protocol will be slower
 ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
 ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
 ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
 '/usr/share/ovirt-
 engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
 ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
 '/etc/ovirt-engine
 /ovirt-websocket-proxy.conf.d/10-setup.conf'
 ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
 ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
 WebSocket server settings:
   - Listen on *:6100
   - Flash security policy server
   - SSL/TLS support
   - Deny non-SSL/TLS connections
   - proxying from *:6100 to targets in /dummy
 
 
 
 I see the following info after I attempted a novnc connection through the
 browser:
 
 1: 10.255.239.1: new handler Process
 1: handler exception: WSRequestHandler instance has no attribute 'last_code'
 1: Traceback (most recent call last):
 File /usr/lib/python2.6/site-packages/websockify/websocket.py, line 696,
 in top_new_client
   self.client = self.do_handshake(startsock, address)
 File /usr/lib/python2.6/site-packages/websockify/websocket.py, line 628,
 in do_handshake
   if wsh.last_code == 101:
 AttributeError: WSRequestHandler instance has no attribute 'last_code'
 
 

What version of python-websockify do you have?
What version of numpy do you have (if any)?

 Thanks!
 
 
 On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev alo...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Garrett Baltezegar my9...@gmail.com
   To: Alon Bar-Lev alo...@redhat.com
   Cc: users@ovirt.org
   Sent: Thursday, June 12, 2014 11:49:50 PM
   Subject: Re: [ovirt-users] novnc error
  
   It looks like a blank page loads.  Just tried this in both Chrome and
   Internet Explorer, and got the same result.
  
   The proxy is installed locally on the ovirt server, by the way.  Nmap
  shows
   port 6100 TCP listening.
 
  do you see anything relevant at /var/log/messages?
 
  try to stop the ovirt-websocket-proxy service and run it in debug mode:
 
  # su - -s /bin/sh ovirt
  $
  /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
  --debug start
 
  see what you get.
 
  
   Thanks for the quick response!
   On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:
  
   
   
- Original Message -
 From: Garrett Baltezegar my9...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, June 12, 2014 11:33:09 PM
 Subject: [ovirt-users] novnc error

 Hello everyone,

 I'm running into an error getting novnc up and running with ovirt,
  and
I'm
 hoping someone can help.

 My system is a CentOS minimal x86_64 install running ovirt fine. I
  have
 created VMs and I'm able to configure the console options. When I
attempt to
 connect to them, however, I get a Server disconnected (code: 1006)
  error.
 I've searched online for a solution, but everything seems to point to
simply
 running the engine-setup configuration utility and installing the
ca.crt. I
 have tried both of these things, but I keep getting the same
  message, in
 Internet Explorer, Chrome and Firefox.

 Disabled iptables and selinux.
 Connected directly to VM with VNC
 Checked ovirt-websocket-proxy, and it is running - haven't touched
  config
 file - SSL=true
 Installed ca.crt - multiple times
 Reinstalled ovirt - clean first, the reinstall.
 Reinstalled ca.crt

 Nothing has helped so far. Does anyone have any ideas? I have a
 straight-forward setup using engine-setup; accepting the default
  answer
most
 of the time. GlusterFS being one of the non-defaults.

 I appreciate your suggestions!
   
What happens if you access port 6100 at engine machine?
   
 https://host:6100
   

 GB

 ___
 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] novnc error

2014-06-12 Thread Garrett Baltezegar
Python-websockify - 0.5.1-1.e16.no arch

Numpy isn't installed
On Jun 12, 2014 5:15 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Garrett Baltezegar my9...@gmail.com
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org
  Sent: Friday, June 13, 2014 12:12:28 AM
  Subject: Re: [ovirt-users] novnc error
 
  I've checked /var/log/messages a few times, but it doesn't seem like much
  is being written to it; the last entry I have is from ~6 hours ago.
 
  When running
 
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
  --debug start I see the following information as the service is
 starting:
 
  WARNING: no 'numpy' module, HyBi protocol will be slower
  ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511
  ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False
  ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
  '/usr/share/ovirt-
  engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'
  ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config
  '/etc/ovirt-engine
  /ovirt-websocket-proxy.conf.d/10-setup.conf'
  ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511
  ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits
  WebSocket server settings:
- Listen on *:6100
- Flash security policy server
- SSL/TLS support
- Deny non-SSL/TLS connections
- proxying from *:6100 to targets in /dummy
 
 
 
  I see the following info after I attempted a novnc connection through the
  browser:
 
  1: 10.255.239.1: new handler Process
  1: handler exception: WSRequestHandler instance has no attribute
 'last_code'
  1: Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
 696,
  in top_new_client
self.client = self.do_handshake(startsock, address)
  File /usr/lib/python2.6/site-packages/websockify/websocket.py, line
 628,
  in do_handshake
if wsh.last_code == 101:
  AttributeError: WSRequestHandler instance has no attribute 'last_code'
 
 

 What version of python-websockify do you have?
 What version of numpy do you have (if any)?

  Thanks!
 
 
  On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev alo...@redhat.com wrote:
 
  
  
   - Original Message -
From: Garrett Baltezegar my9...@gmail.com
To: Alon Bar-Lev alo...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, June 12, 2014 11:49:50 PM
Subject: Re: [ovirt-users] novnc error
   
It looks like a blank page loads.  Just tried this in both Chrome and
Internet Explorer, and got the same result.
   
The proxy is installed locally on the ovirt server, by the way.  Nmap
   shows
port 6100 TCP listening.
  
   do you see anything relevant at /var/log/messages?
  
   try to stop the ovirt-websocket-proxy service and run it in debug mode:
  
   # su - -s /bin/sh ovirt
   $
  
 /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
   --debug start
  
   see what you get.
  
   
Thanks for the quick response!
On Jun 12, 2014 4:39 PM, Alon Bar-Lev alo...@redhat.com wrote:
   


 - Original Message -
  From: Garrett Baltezegar my9...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, June 12, 2014 11:33:09 PM
  Subject: [ovirt-users] novnc error
 
  Hello everyone,
 
  I'm running into an error getting novnc up and running with
 ovirt,
   and
 I'm
  hoping someone can help.
 
  My system is a CentOS minimal x86_64 install running ovirt fine.
 I
   have
  created VMs and I'm able to configure the console options. When I
 attempt to
  connect to them, however, I get a Server disconnected (code:
 1006)
   error.
  I've searched online for a solution, but everything seems to
 point to
 simply
  running the engine-setup configuration utility and installing the
 ca.crt. I
  have tried both of these things, but I keep getting the same
   message, in
  Internet Explorer, Chrome and Firefox.
 
  Disabled iptables and selinux.
  Connected directly to VM with VNC
  Checked ovirt-websocket-proxy, and it is running - haven't
 touched
   config
  file - SSL=true
  Installed ca.crt - multiple times
  Reinstalled ovirt - clean first, the reinstall.
  Reinstalled ca.crt
 
  Nothing has helped so far. Does anyone have any ideas? I have a
  straight-forward setup using engine-setup; accepting the default
   answer
 most
  of the time. GlusterFS being one of the non-defaults.
 
  I appreciate your suggestions!

 What happens if you access port 6100 at engine machine?

  https://host:6100

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