[one-users] VNC Server disconnected (code: 1006)

Gerry O'Brien gerry at scss.tcd.ie
Thu Oct 16 10:19:52 PDT 2014


Hi,

    I found the solution to this problem. It was a local issue whereby a
config change to the browser forced all local access through our proxy.
This broke the VNC proxy.

            Regards,
                    Gerry


On 16/10/2014 17:56, Gerry O'Brien wrote:
> Hi,
>
>     Just some additional information: the proxy is actually running
>
>  ps -ef | grep websocketproxy
> oneadmin 20092     1  0 13:41 ?        00:00:02 python
> /usr/share/one/websockify/websocketproxy.py
> --target-config=/var/lib/one/sunstone_vnc_tokens 29876
>
>
> This the the novnc.log
>
>
> cat novnc.log
> I, [2014-10-16T10:40:44.240445 #22621]  INFO -- : Killing VNC proxy
> I, [2014-10-16T10:40:45.282727 #22621]  INFO -- : Deleting stale lock file
> I, [2014-10-16T10:42:05.113200 #24726]  INFO -- : Starting VNC proxy:
> python /usr/share/one/websockify/websocketproxy.py
> --target-config=/var/lib/one/sunstone_vnc_tokens  29876
> I, [2014-10-16T13:41:13.872740 #19303]  INFO -- : Killing VNC proxy
> I, [2014-10-16T13:41:14.914274 #19303]  INFO -- : Deleting stale lock file
> I, [2014-10-16T13:41:50.477398 #20091]  INFO -- : Starting VNC proxy:
> python /usr/share/one/websockify/websocketproxy.py
> --target-config=/var/lib/one/sunstone_vnc_tokens  29876
>
>
>
> On 16/10/2014 17:43, Gerry O'Brien wrote:
>> Hi,
>>
>>     Recently the Sunstone VNC connections have been failing with the
>> message "VNC Server disconnected (code: 1006)". This was working. We are
>> running version 4.6.2-1 and ruby 1.8.7.
>>
>>     If I run the VNC proxy as a separate process, then all I get is the
>> output listed below. Any failing connections do not produce output. If I
>> shutdown sunstone-server then ports 9869 and 29876 are not being used.
>>
>>     The virtual machins are running normally and listening on their VNC
>> ports because I can contact them with  another VNC client. Any ideas
>> where I should go from here? I've searched the web and the mailing list
>> but have not seen anything
>>
>>             Regards,
>>                 Gerry
>>
>>
>> WARNING: no 'numpy' module, HyBi protocol is slower or disabled
>> WebSocket server settings:
>>   - Listen on :29876
>>   - Flash security policy server
>>   - No SSL/TLS support (no cert file)
>>   - proxying from :29876 to targets in /var/lib/one/sunstone_vnc_tokens
>>
>


-- 
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341



More information about the Users mailing list