<p dir="ltr">Python-websockify - <a href="http://0.5.1-1.e16.no">0.5.1-1.e16.no</a> arch </p>
<p dir="ltr">Numpy isn't installed</p>
<div class="gmail_quote">On Jun 12, 2014 5:15 PM, "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
----- Original Message -----<br>
> From: "Garrett Baltezegar" <<a href="mailto:my91rt@gmail.com">my91rt@gmail.com</a>><br>
> To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> Sent: Friday, June 13, 2014 12:12:28 AM<br>
> Subject: Re: [ovirt-users] novnc error<br>
><br>
> I've checked /var/log/messages a few times, but it doesn't seem like much<br>
> is being written to it; the last entry I have is from ~6 hours ago.<br>
><br>
> When running<br>
> "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py<br>
> --debug start" I see the following information as the service is starting:<br>
><br>
> WARNING: no 'numpy' module, HyBi protocol will be slower<br>
> ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511<br>
> ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False<br>
> ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config<br>
> '/usr/share/ovirt-<br>
> engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'<br>
> ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config<br>
> '/etc/ovirt-engine<br>
> /ovirt-websocket-proxy.conf.d/10-setup.conf'<br>
> ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511<br>
> ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits<br>
> WebSocket server settings:<br>
> - Listen on *:6100<br>
> - Flash security policy server<br>
> - SSL/TLS support<br>
> - Deny non-SSL/TLS connections<br>
> - proxying from *:6100 to targets in /dummy<br>
><br>
><br>
><br>
> I see the following info after I attempted a novnc connection through the<br>
> browser:<br>
><br>
> 1: <a href="http://10.255.239.1" target="_blank">10.255.239.1</a>: new handler Process<br>
> 1: handler exception: WSRequestHandler instance has no attribute 'last_code'<br>
> 1: Traceback (most recent call last):<br>
> File "/usr/lib/python2.6/site-packages/websockify/websocket.py", line 696,<br>
> in top_new_client<br>
> self.client = self.do_handshake(startsock, address)<br>
> File "/usr/lib/python2.6/site-packages/websockify/websocket.py", line 628,<br>
> in do_handshake<br>
> if wsh.last_code == 101:<br>
> AttributeError: WSRequestHandler instance has no attribute 'last_code'<br>
><br>
><br>
<br>
What version of python-websockify do you have?<br>
What version of numpy do you have (if any)?<br>
<br>
> Thanks!<br>
><br>
><br>
> On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>> wrote:<br>
><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Garrett Baltezegar" <<a href="mailto:my91rt@gmail.com">my91rt@gmail.com</a>><br>
> > > To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> > > Sent: Thursday, June 12, 2014 11:49:50 PM<br>
> > > Subject: Re: [ovirt-users] novnc error<br>
> > ><br>
> > > It looks like a blank page loads. Just tried this in both Chrome and<br>
> > > Internet Explorer, and got the same result.<br>
> > ><br>
> > > The proxy is installed locally on the ovirt server, by the way. Nmap<br>
> > shows<br>
> > > port 6100 TCP listening.<br>
> ><br>
> > do you see anything relevant at /var/log/messages?<br>
> ><br>
> > try to stop the ovirt-websocket-proxy service and run it in debug mode:<br>
> ><br>
> > # su - -s /bin/sh ovirt<br>
> > $<br>
> > /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py<br>
> > --debug start<br>
> ><br>
> > see what you get.<br>
> ><br>
> > ><br>
> > > Thanks for the quick response!<br>
> > > On Jun 12, 2014 4:39 PM, "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>> wrote:<br>
> > ><br>
> > > ><br>
> > > ><br>
> > > > ----- Original Message -----<br>
> > > > > From: "Garrett Baltezegar" <<a href="mailto:my91rt@gmail.com">my91rt@gmail.com</a>><br>
> > > > > To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> > > > > Sent: Thursday, June 12, 2014 11:33:09 PM<br>
> > > > > Subject: [ovirt-users] novnc error<br>
> > > > ><br>
> > > > > Hello everyone,<br>
> > > > ><br>
> > > > > I'm running into an error getting novnc up and running with ovirt,<br>
> > and<br>
> > > > I'm<br>
> > > > > hoping someone can help.<br>
> > > > ><br>
> > > > > My system is a CentOS minimal x86_64 install running ovirt fine. I<br>
> > have<br>
> > > > > created VMs and I'm able to configure the console options. When I<br>
> > > > attempt to<br>
> > > > > connect to them, however, I get a Server disconnected (code: 1006)<br>
> > error.<br>
> > > > > I've searched online for a solution, but everything seems to point to<br>
> > > > simply<br>
> > > > > running the engine-setup configuration utility and installing the<br>
> > > > ca.crt. I<br>
> > > > > have tried both of these things, but I keep getting the same<br>
> > message, in<br>
> > > > > Internet Explorer, Chrome and Firefox.<br>
> > > > ><br>
> > > > > Disabled iptables and selinux.<br>
> > > > > Connected directly to VM with VNC<br>
> > > > > Checked ovirt-websocket-proxy, and it is running - haven't touched<br>
> > config<br>
> > > > > file - SSL=true<br>
> > > > > Installed ca.crt - multiple times<br>
> > > > > Reinstalled ovirt - clean first, the reinstall.<br>
> > > > > Reinstalled ca.crt<br>
> > > > ><br>
> > > > > Nothing has helped so far. Does anyone have any ideas? I have a<br>
> > > > > straight-forward setup using engine-setup; accepting the default<br>
> > answer<br>
> > > > most<br>
> > > > > of the time. GlusterFS being one of the non-defaults.<br>
> > > > ><br>
> > > > > I appreciate your suggestions!<br>
> > > ><br>
> > > > What happens if you access port 6100 at engine machine?<br>
> > > ><br>
> > > > <a href="https://host:6100" target="_blank">https://host:6100</a><br>
> > > ><br>
> > > > ><br>
> > > > > GB<br>
> > > > ><br>
> > > > > _______________________________________________<br>
> > > > > Users mailing list<br>
> > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > > > ><br>
> > > ><br>
> > ><br>
> ><br>
><br>
</blockquote></div>