<div dir="ltr">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.<div><br></div><div>When running "<span style="font-size:13px;font-family:arial,sans-serif">/usr/share/ovirt-engine/</span><span style="font-size:13px;font-family:arial,sans-serif">services/ovirt-websocket-</span><span style="font-size:13px;font-family:arial,sans-serif">proxy/ovirt-websocket-proxy.py --debug start" I see the following information as the service is starting:</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><div style><font face="arial, sans-serif">WARNING: no 'numpy' module, HyBi protocol will be slower</font></div><div style><font face="arial, sans-serif">ovirt-websocket-proxy[14511] DEBUG _daemon:403 daemon entry pid=14511</font></div>
<div style><font face="arial, sans-serif">ovirt-websocket-proxy[14511] DEBUG _daemon:404 background=False</font></div><div style><font face="arial, sans-serif">ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config '/usr/share/ovirt- engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'</font></div>
<div style><font face="arial, sans-serif">ovirt-websocket-proxy[14511] DEBUG loadFile:70 loading config '/etc/ovirt-engine /ovirt-websocket-proxy.conf.d/10-setup.conf'</font></div>
<div style><font face="arial, sans-serif">ovirt-websocket-proxy[14511] DEBUG _daemon:440 I am a daemon 14511</font></div><div style><font face="arial, sans-serif">ovirt-websocket-proxy[14511] DEBUG _setLimits:377 Setting rlimits</font></div>
<div style><font face="arial, sans-serif">WebSocket server settings:</font></div><div style><font face="arial, sans-serif"> - Listen on *:6100</font></div><div style><font face="arial, sans-serif"> - Flash security policy server</font></div>
<div style><font face="arial, sans-serif"> - SSL/TLS support</font></div><div style><font face="arial, sans-serif"> - Deny non-SSL/TLS connections</font></div><div style><font face="arial, sans-serif"> - proxying from *:6100 to targets in /dummy</font></div>
</div><div style><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I see the following info after I attempted a novnc connection through the browser:</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">1: <a href="http://10.255.239.1">10.255.239.1</a>: new handler Process</font></div><div><font face="arial, sans-serif">1: handler exception: WSRequestHandler instance has no attribute 'last_code'</font></div>
<div><font face="arial, sans-serif">1: Traceback (most recent call last):</font></div><div><font face="arial, sans-serif">File "/usr/lib/python2.6/site-packages/websockify/websocket.py", line 696, in top_new_client</font></div>
<div><font face="arial, sans-serif"> self.client = self.do_handshake(startsock, address)</font></div><div><font face="arial, sans-serif">File "/usr/lib/python2.6/site-packages/websockify/websocket.py", line 628, in do_handshake</font></div>
<div><font face="arial, sans-serif"> if wsh.last_code == 101:</font></div><div><font face="arial, sans-serif">AttributeError: WSRequestHandler instance has no attribute 'last_code'</font></div><div><br></div><div>
<br></div><div>Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 4:56 PM, Alon Bar-Lev <span dir="ltr"><<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>></span> wrote:<br>
<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: 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 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>
$ /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py --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, and<br>
> > I'm<br>
> > > hoping someone can help.<br>
> > ><br>
> > > My system is a CentOS minimal x86_64 install running ovirt fine. I 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) 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 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 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 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>
</blockquote></div><br></div>