<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv454069877"><table id="yiv454069877bodyDrftID" class="yiv454069877" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="yiv454069877drftMsgContent" style="font:inherit;font-family:arial;font-size:10pt;">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><span style="font-weight:bold;">sunstone.log</span> contains the following about the
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></td></tr></tbody></table></div></td></tr></table>