<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello Hector,<br><br>I'm using OpenNebula 3.2.0 (downloaded the package) on openSUSE 11.4 (front-end), having Firefox 4.0b12. The respective host runs openSUSE 12.1 and KVM.<br><br>I will try to kill wsproxy manually next time the error occurs, and see if it works. Until then, any other solutions are more than welcomed.<br><br>Cheers,<br>Lehel.<br><br>--- On <b>Sat, 3/31/12, Hector Sanjuan <i><hsanjuan@opennebula.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Hector Sanjuan <hsanjuan@opennebula.org><br>Subject: Re: [one-users] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ?<br>To: users@lists.opennebula.org<br>Date: Saturday, March 31, 2012, 12:51 PM<br><br><div class="plainMail">Hello,<br><br>which version of OpenNebula are you
 using?<br><br>It looks like wsproxy process is not conveniently terminated after closing the connection. A more convinient workaround would be to kill the wsproxy process in the frontend manually I guess.<br><br>I have opened a ticket to keep track of this and see if I can reproduce it as well. <a href="http://dev.opennebula.org/issues/1201" target="_blank">http://dev.opennebula.org/issues/1201</a><br><br>Hector<br><br>En Sat, 31 Mar 2012 11:24:44 +0200, biro lehel <<a ymailto="mailto:lehel.biro@yahoo.com" href="/mc/compose?to=lehel.biro@yahoo.com">lehel.biro@yahoo.com</a>> escribió:<br><br>> Hello,<br>> <br>> I seem to have a noVNC-related issue. From time-to-time, I get a "Server disconnected" error, when accessing my VM's through VNC. I've noticed that it usually (only) happens when I was previously connected to that specific VM (for which the error occurs) through VNC for an extended period of time (but not more than 10-15 minutes),
 closed the connection, and then tried to reconnect (this is where I get the error). It never happened (so far) in situations other than this, if the VNC-connections are short-termed in time, I can close and reconnect to VM's through VNC as many times as I want.<br>> <br>> The only workaround I've found so far is rebooting both the front-end and the respective host, which, as you can imagine, is rather inconvenient to do each time this error occurs.<br>> <br>> sunstone.log contains the following about the<br>>  error:<br>> <br>> Starting vnc proxy: /usr/share/one/noVNC/utils/wsproxy.py 35822 pcls:5946<br>> /usr/lib/one/sunstone/models/SunstoneServer.rb:234: warning: Insecure world writable dir /usr/X11R6/bin in PATH, mode 040777<br>> 127.0.0.1 - - [31/Mar/2012 12:08:17] "POST /vm/46/startvnc HTTP/1.1" 200 30 0.1036<br>> 127.0.0.1 - - [31/Mar/2012 12:08:17] "GET /vendor/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png
 HTTP/1.1" 200 120 0.0116<br>> Traceback (most recent call last):<br>>   File "/usr/share/one/noVNC/utils/wsproxy.py", line 282, in <module><br>>     server.start_server()<br>>   File "/usr/share/one/noVNC/utils/websocket.py", line 794, in start_server<br>>     lsock = self.socket(self.listen_host, self.listen_port)<br>>   File "/usr/share/one/noVNC/utils/websocket.py", line 185, in socket<br>>     sock.bind(addrs[0][4])<br>>   File "/usr/lib64/python2.7/socket.py", line 222, in meth<br>>    return getattr(self._sock,name)(*args)<br>> socket.error: [Errno 98] Address already in use<br>> 127.0.0.1 - - [31/Mar/2012 12:08:32] "POST /vm/46/stopvnc HTTP/1.1" 200 - 0.0856<br>> <br>> Since I'm not an expert in Python, I didn't want to dig myself into the above-named files so far.<br>>
 <br>> Any ideas what should I check, or what should I do?<br>> <br>> Thank you,<br>> Lehel.<br><br><br>--Hector Sanjuan<br>OpenNebula Developer<br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opennebula.org" href="/mc/compose?to=Users@lists.opennebula.org">Users@lists.opennebula.org</a><br><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br></div></blockquote></td></tr></table>