<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="http://pastie.org/3694439">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><br><div><div>On Mar 29, 2012, at 2:35 PM, Anthony Young wrote:</div><blockquote type="cite"><span class="Apple-style-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 class="Apple-style-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 class="Apple-style-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 class="yj6qo ajU" 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">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 class="h5"><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></body></html>