<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well, even with the change, I'm not getting the live VNCconsole. Javascript all comes up happy, but fails to connect - same errors. Anything that I should query in the javascript console that will tell me what's happening? Or logs form the novnc process?<div><br></div><div>-joe</div><div><br><div><div>On Mar 29, 2012, at 3:02 PM, Joseph Heck wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">thank you - morons-r-us is trying that suggestion right now...<div><br></div><div>-joe</div><div><br><div><div>On Mar 29, 2012, at 3:01 PM, Anthony Young wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Joe - looks like it could just be a typo:</div><div><br></div><div><span class="Apple-style-span" style="font-family:Arial,Helvetica,sans-serif;font-size:medium"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr>
<td style="vertical-align:top"><pre class="textmate-source-numbers" style="font-family:'Bitstream Vera Sans Mono',Monaco,Consolas,'Courier New',monospace;font-size:9pt;margin-top:0em;line-height:1.3em;color:rgb(153,153,153);padding-right:2em;text-align:right">1
2
3
</pre></td><td style="vertical-align:top"><pre class="textmate-source" style="font-family:'Bitstream Vera Sans Mono',Monaco,Consolas,'Courier New',monospace;font-size:9pt;line-height:1.3em;margin-top:0em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;word-wrap:break-word;color:rgb(248,248,248);background-color:rgb(20,20,20)"><pre class="sunburst" style="font-family:'Bitstream Vera Sans Mono',Monaco,Consolas,'Courier New',monospace;font-size:9pt;line-height:1.3em;margin-top:0em"><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">-</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">-</span>vncserver_list<span class="keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">=</span><span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">172.18</span>.<span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">1.1</span>
<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">-</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">-</span>vncserver_proxyclient_address<span class="keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">=</span><span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">172.18</span>.<span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">1.1</span>
<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">-</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">-</span>novncproxy_base_url<span class="keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">=</span><span class="constant constant_other constant_other_symbol constant_other_symbol_ruby constant_other_symbol_ruby_19syntax" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">http:</span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(233,192,98)">/</span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(233,192,98)"></span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(233,192,98)">/</span><span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">172.17</span>.<span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">1.50</span>:<span class="constant constant_numeric constant_numeric_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(207,106,76)">6080</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby" style="padding-top:0.2em;padding-bottom:0.1em;color:rgb(205,168,105)">/</span>vnc_auto.html
</pre></pre></td></tr></tbody></table></span></div><div><br></div><div><br></div>that should be vncserver_listen<div><br></div><div>A<br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 2:42 PM, Joseph Heck <span dir="ltr"><<a href="mailto:heckj@me.com">heckj@me.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><a href="http://pastie.org/3694439" target="_blank">http://pastie.org/3694439</a><div>
<br></div><div>The compute host is 172.18.1.1 with my instance (TTY, named "zerglet")</div><div>The nova vncproxy code is running at 172.17.1.50 - both have direct access to each other - pingable, etc. 172.17.1.50 is the nova-api host for this setup as well</div>
<div><br></div><div>-joe</div><div><div class="h5"><div><br><div><div>On Mar 29, 2012, at 2:35 PM, Anthony Young wrote:</div><blockquote type="cite"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Joe - can you pastie your nova.conf from your compute host?  The most relevant flags are </span><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;border-collapse:collapse;color:rgb(51,51,51);line-height:22px">vncserver_proxyclient_address and  </span></span><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;border-collapse:collapse;color:rgb(51,51,51);line-height:22px">vncserver_listen</span></span><div style="outline-style:none;outline-width:initial;outline-color:initial;padding-top:10px;padding-right:0px;padding-bottom:10px;padding-left:0px;width:22px;margin-top:2px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">

</div><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 2:21 PM, Joseph Heck <span dir="ltr"><<a href="mailto:heckj@me.com" target="_blank">heckj@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Hey Tony,<div><br></div><div>Slightly related - I'm getting a valid link form the dashboard that gets to VNCProxy and such, but the page that comes active reports a "Server timeout". Any idea how to diagnose this and what's happened/not responded?</div>

<div><br></div><div><a href="http://172.17.1.50:6080/vnc_auto.html?token=f96cf65b-1a2f-415c-97f7-90da7cdc102a&title=zerglet(b13812ac-8310-49ea-97e6-50ff062754af)" target="_blank">http://172.17.1.50:6080/vnc_auto.html?token=f96cf65b-1a2f-415c-97f7-90da7cdc102a&title=zerglet(b13812ac-8310-49ea-97e6-50ff062754af)</a></div>

<div><br></div><div>In the javascript console, here's what I'm seeing:</div><div><br></div><div><div style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:24px;min-height:16px;display:block;font-family:Menlo,monospace;font-size:11px">

<span style="white-space:pre-wrap;font-family:Menlo,monospace;font-size:11px!important"><span>New state 'loaded', was 'disconnected'. Msg: noVNC ready: native WebSockets, createImageData rendering</span></span></div>

<div style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:24px;min-height:16px;display:block;font-family:Menlo,monospace;font-size:11px">

<span style="white-space:pre-wrap;font-family:Menlo,monospace;font-size:11px!important"><a href="http://172.17.1.50:6080/include/util.js" title="http://172.17.1.50:6080/include/util.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%" target="_blank">util.js:71</a><span>New state 'connect', was 'loaded'.</span></span></div>

<div style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:24px;min-height:16px;display:block;font-family:Menlo,monospace;font-size:11px">

<span style="white-space:pre-wrap;font-family:Menlo,monospace;font-size:11px!important"><a href="http://172.17.1.50:6080/include/util.js" title="http://172.17.1.50:6080/include/util.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%" target="_blank">util.js:71</a><span>New state 'ProtocolVersion', was 'connect'. Msg: Starting VNC handshake</span></span></div>

<div style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:24px;min-height:16px;display:block;font-family:Menlo,monospace;font-size:11px">

<span style="white-space:pre-wrap;font-family:Menlo,monospace;font-size:11px!important;color:red"><a href="http://172.17.1.50:6080/include/util.js" title="http://172.17.1.50:6080/include/util.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%" target="_blank">util.js:72</a><span>New state 'failed', was 'ProtocolVersion'. Msg: Failed to connect to server</span></span></div>

<div style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding-top:1px;padding-right:22px;padding-bottom:1px;padding-left:24px;min-height:16px;display:block;font-family:Menlo,monospace;font-size:11px">

<span style="white-space:pre-wrap;font-family:Menlo,monospace;font-size:11px!important"><a href="http://172.17.1.50:6080/include/util.js" title="http://172.17.1.50:6080/include/util.js" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%" target="_blank">util.js:71</a><span>New state 'failed', was 'failed'.</span></span></div>

</div><div><br><div><div><br></div><div>Any ideas?</div><div><br></div><div>-joe</div><div><div><div><br></div><div><br></div><div>On Mar 29, 2012, at 1:06 PM, Anthony Young wrote:</div><br><blockquote type="cite">
How are you generating this link: <span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(34,34,34)"><a href="http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None" style="color:rgb(17,85,204)" target="_blank">http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None</a> ?</span><div>


<font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">It looks like if horizon is behaving nicely the link would look like </span></font><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(34,34,34)"><a href="http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None" style="color:rgb(17,85,204)" target="_blank">http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/vnc</a></span></div>


<div><br></div><div>Also, could you pastie your nova-api.log somewhere?</div><div><br></div><div>A</div><div><br></div><div><div class="gmail_quote">On Thu, Mar 29, 2012 at 11:52 AM, Guilherme Birk <span dir="ltr"><<a href="mailto:guibirk@hotmail.com" target="_blank">guibirk@hotmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
I'm having problems with it too. I'm trying to connect on my instances in the VNC tab at the dashboard, but I'm getting a 404 not found in the URL <a href="http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None" target="_blank">http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None</a><br>


<br>Here is my nova-api.log. Looks like nova is having problems with the POST at <a href="http://localhost:8774/v1.1/db742491018d467690ba7d3a7bb383a5/servers/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/action" target="_blank">http://localhost:8774/v1.1/db742491018d467690ba7d3a7bb383a5/servers/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/action</a>.<br>


<br>Any suggestions ?<br><div><div><div></div><hr>From: <a href="mailto:lucianthomaz@hotmail.com" target="_blank">lucianthomaz@hotmail.com</a><br>To: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>


Date: Thu, 29 Mar 2012 18:07:59 +0000<br>Subject: [Openstack] Dashboard VNC Console failed to connect to server</div><div><div><br><br>




<div dir="ltr">
<font color="#366092" face="Tahoma">Hey guys,</font><div><font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">I'm using Dashboard with a nova-compute installed in another machine, but when I try access VNC Console I get the error "failed to connect to server".</font></div>


<div><font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">Here is the log -> <a href="http://pastebin.com/5DZMfiNE" target="_blank">http://pastebin.com/5DZMfiNE</a></font></div>


<div><font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">Anyone already saw this trouble?<br></font><br><br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz </strong></font></div>


<br></div>                                    </div>
<br></div></div><div>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div></div>                                       </div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>

Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>

</blockquote></div></div></div><br></div></div></blockquote></div><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></blockquote></div><br></div></body></html>