<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Davood,<br>
<br>
I understand what you are saying. And, I can connect on port 5910
with out any problem. Also vncviewer to port 5910 works fine.<br>
<br>
Where you get - "No SSL/TLS support (no cert file)", I get "SSL
connection but '/var/lib/one/self.pem not found".<br>
<br>
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.<br>
<br>
So something is making it think that, I need to find out what that
is.<br>
<br>
Regards<br>
Chandana<br>
<br>
<br>
On 14/06/12 19:35, davood ghatreh wrote:
<blockquote
cite="mid:CADpDy=eENO-w6u7bJPc2oGKOJ2JVLB9kNZuUUKNix1x46QO_CA@mail.gmail.com"
type="cite">Hi Chandana,<br>
<br>
let me show you an example.<br>
<br>
i can connect to noVNC in sunstone. I check processes for noVNC
and find this one:<br>
<br>
python /usr/share/one/noVNC/utils/websockify 35778 localhost:5902<br>
<br>
I kill every task with noVNC (there is no other user using it).
Then run this command manually:<br>
<br>
here is the result:<br>
<br>
[oneadmin@localhost root]$ <b><span style="color:rgb(51,51,255)">python
/usr/share/one/noVNC/utils/websockify 35778 localhost:5902</span></b><br>
WARNING: no 'numpy' module, HyBi protocol is slower or disabled<br>
WebSocket server settings:<br>
- Listen on :35778<br>
- Flash security policy server<br>
- No SSL/TLS support (no cert file)<br>
- <b style="color:rgb(51,51,255)">proxying from :<span
style="color:rgb(255,0,0)">35778</span> to <span
style="color:rgb(51,255,51)">localhost</span>:<span
style="color:rgb(255,0,0)">5902</span></b><br>
<br>
<br>
<br>
server is waiting for the connection. Now I try to connect using
my browser an get following:<br>
<br>
<br>
1: <a moz-do-not-send="true" href="http://10.5.42.2">10.5.42.2</a>:
Plain non-SSL (<a class="moz-txt-link-freetext" href="ws://">ws://</a>) WebSocket connection<br>
1: <a moz-do-not-send="true" href="http://10.5.42.2">10.5.42.2</a>:
Version hybi-13, base64: 'True'<br>
1: connecting to: <b style="color:rgb(51,51,255)"><span
style="color:rgb(51,255,51)">localhost</span>:<span
style="color:rgb(255,0,0)">5902<br>
<br>
</span></b><br>
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:
<b><span style="color:rgb(51,255,51)">glass.dis</span>:<span
style="color:rgb(255,0,0)">5910</span></b><br>
<br>
therefore, check to see if there is any problem connecting to
glass.dis on port 5910 (on your frontend server).<br>
<br>
Thanks<br>
Davood<br>
<br>
<br>
<div class="gmail_quote">On Thu, Jun 14, 2012 at 1:43 PM, Chandana
De Silva <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:chandana@desilva.id.au" target="_blank">chandana@desilva.id.au</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
Davood,<br>
<br>
I looked at the websockify code, but could not see the error
message.<br>
<br>
The sunstone config says <a class="moz-txt-link-freetext" href="wss:no">wss:no</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
:vnc_proxy_base_port: 29876<br>
:vnc_proxy_path: /usr/share/one/noVNC/utils/websockify<br>
:vnc_proxy_support_wss: no<br>
:vnc_proxy_cert:<br>
:vnc_proxy_key:<br>
</blockquote>
<div class="HOEnZb">
<div class="h5">
<br>
On 14/06/12 18:48, Chandana De Silva wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
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 ? <br>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>