[one-users] Problem connecting to VNC console
Chandana De Silva
chandana at desilva.id.au
Thu Jun 14 04:45:45 PDT 2012
Hello Davood,
I understand what you are saying. And, I can connect on port 5910 with
out any problem. Also vncviewer to port 5910 works fine.
Where you get - "No SSL/TLS support (no cert file)", I get "SSL
connection but '/var/lib/one/self.pem not found".
What I can't understand is why I get the message "SSL connection but
'/var/lib/one/self.pem' not found". This message is coming from
/usr/share/one/noVNC/utils/nova-novncproxy, which is somehow thinking
that this is a an SSL connection.
So something is making it think that, I need to find out what that is.
Regards
Chandana
On 14/06/12 19:35, davood ghatreh wrote:
> Hi Chandana,
>
> let me show you an example.
>
> i can connect to noVNC in sunstone. I check processes for noVNC and
> find this one:
>
> python /usr/share/one/noVNC/utils/websockify 35778 localhost:5902
>
> I kill every task with noVNC (there is no other user using it). Then
> run this command manually:
>
> here is the result:
>
> [oneadmin at localhost root]$ *python
> /usr/share/one/noVNC/utils/websockify 35778 localhost:5902*
> WARNING: no 'numpy' module, HyBi protocol is slower or disabled
> WebSocket server settings:
> - Listen on :35778
> - Flash security policy server
> - No SSL/TLS support (no cert file)
> - *proxying from :35778 to localhost:5902*
>
>
>
> server is waiting for the connection. Now I try to connect using my
> browser an get following:
>
>
> 1: 10.5.42.2 <http://10.5.42.2>: Plain non-SSL (ws://) WebSocket
> connection
> 1: 10.5.42.2 <http://10.5.42.2>: Version hybi-13, base64: 'True'
> 1: connecting to: *localhost:5902
>
> *
> so, if there is no problem connecting to localhost on port 5902,
> there is no problem to connect through noVNC. in your case, it is:
> *glass.dis:5910*
>
> therefore, check to see if there is any problem connecting to
> glass.dis on port 5910 (on your frontend server).
>
> Thanks
> Davood
>
>
> On Thu, Jun 14, 2012 at 1:43 PM, Chandana De Silva
> <chandana at desilva.id.au <mailto:chandana at desilva.id.au>> wrote:
>
> Hello Davood,
>
> I looked at the websockify code, but could not see the error message.
>
> The sunstone config says wss:no
>
> :vnc_proxy_base_port: 29876
> :vnc_proxy_path: /usr/share/one/noVNC/utils/websockify
> :vnc_proxy_support_wss: no
> :vnc_proxy_cert:
> :vnc_proxy_key:
>
>
> On 14/06/12 18:48, Chandana De Silva wrote:
>
> Thanks, I can now see the problem. However my connection is a
> HTTP connection. Can websockify be run in debug mode ? Why is
> it trying to get an SSL connection ?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120614/4ddf2953/attachment-0003.htm>
More information about the Users
mailing list