<html><head><base href="x-msg://10/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Question that might help debug the problem in FF: if you click on the "VNC Console" button in the Actions drop-down in the instances table (click the arrow next to "Edit Instance") that will launch the full page VNC client versus the in-tab VNC client on the instance detail page. Do you see any errors? Any JavaScript errors?<div><br></div><div>For the other browsers simply click on the grey status bar above the VNC window:</div><div><img id="4a00f1fb-b115-4403-ba7c-deacfa50b719" height="627" width="795" apple-width="yes" apple-height="yes" src="cid:A1C4E750-11EF-43AE-8A40-6B891E6D51AE"></div><div><br><div><div>On Apr 2, 2012, at 7:07 AM, Guilherme Birk wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr">Anthony, It's working now. Thanks for your support. I'll take a look at the outdated flags at my config.<br>I have just a question, the novnc works on wich browsers? I've tried on firefox 10.0.2 and didn't worked. With chrome and IE I can connect to my instances, but can't use the keyboard.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Fri, 30 Mar 2012 12:23:08 -0700<br>Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server<br>From:<span class="Apple-converted-space"> </span><a href="mailto:sleepsonthefloor@gmail.com">sleepsonthefloor@gmail.com</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:guibirk@hotmail.com">guibirk@hotmail.com</a><br>CC:<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br><br><div><span class="ecxApple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(34, 34, 34); "><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: small; ">On Fri, Mar 30, 2012 at 11:29 AM, Guilherme Birk <span dir="ltr"><<a href="mailto:guibirk@hotmail.com">guibirk@hotmail.com</a>></span> wrote:<br><div class="ecxgmail_quote"><blockquote class="ecxgmail_quote" style="margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div><div dir="ltr"><div class="ecxim">I installed the nova-consoleauth service and that resolved the problem of 404 not found. Now I'm getting a cannot connect to the server<a href="http://127.0.0.1:6080" target="_blank">127.0.0.1:6080</a>. The IP 127.0.0.1 is strange, because on my nova.conf file I have the following flags:</div></div></div></blockquote></div></span></span></div><div><span class="ecxApple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(34, 34, 34); "><br></span></div><div><span class="ecxApple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(34, 34, 34); ">The 127.0.0.1 means that your flag is not taking effect.</span></div><div><span class="ecxApple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(34, 34, 34); "><br></span></div><div><span class="ecxApple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(34, 34, 34); ">If you are using essex you need:<div><br></div><div>--novncproxy_base_url=<a href="http://192.168.100.142:6080/vnc_auto.html" target="_blank" style="color: rgb(17, 85, 204); ">http://192.168.100.142:6080/vnc_auto.html</a></div><div><br></div><div>In <a href="https://review.openstack.org/6002" target="_blank" style="color: rgb(17, 85, 204); ">https://review.openstack.org/6002</a> I explain that there are configuration options that have changed for essex, this is one of them.  Let me know if there is any way I can improve that explanation.</div><div><br></div><div>Is this a 1 machine deploy? Given that<span class="Apple-converted-space"> </span><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: small; ">vncproxy_url (again that is an outdated flag) references the same ip as the compute host, your configs would only work for all-in-one.</span></div><div><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: small; "><br></span></div><div><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: small; ">A</span></div><div><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: small; "><br></span></div></span></div><div class="ecxgmail_quote"><blockquote class="ecxgmail_quote" style="border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div><div dir="ltr"><div class="ecxim"><br>--vncserver_listen=192.168.100.142<br>--vncserver_proxyclient_address=192.168.100.142<br>--vncproxy_url=<a href="http://192.168.100.142:6080" target="_blank">http://192.168.100.142:6080</a><br>--vnc_console_proxy_url=<a href="http://192.168.100.142:6080" target="_blank">http://192.168.100.142:6080</a><br><br>My problem could be because of the localhost IP? I've already tried the port 6081, but with no success.<br><br></div><div><div class="ecxhm ecxHOEnZb"><div></div><hr>From:<span class="Apple-converted-space"> </span><a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:sleepsonthefloor@gmail.com">sleepsonthefloor@gmail.com</a><br>Date: Fri, 30 Mar 2012 16:30:05 +0000<br>CC:<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a></div><div><div class="h5"><br>Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server<br><br><div dir="ltr"><span><span><span dir="ltr" title="sleepsonthefloor@gmail.com"><span dir="ltr"></span></span></span></span><span><span><span dir="ltr" title="sleepsonthefloor@gmail.com"><span dir="ltr">Anthony, I tried to add this flags there and do some more things but I didn't have sucess yet.<br><br>I made a question in launchpad with all my network configurations and my log. Can you see that please?<br><br>Thank you.<br><br><a href="https://answers.launchpad.net/nova/+question/192153" target="_blank">https://answers.launchpad.net/nova/+question/192153</a><br></span></span></span></span><br><br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz</strong></font><br></div><br><br><div><div></div><hr>Date: Thu, 29 Mar 2012 12:28:24 -0700<br>Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server<br>From:<span class="Apple-converted-space"> </span><a href="mailto:sleepsonthefloor@gmail.com">sleepsonthefloor@gmail.com</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>CC:<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br><br><div>Here are several flags that you must set on your compute host for a multi host deploy:</div><div><br></div><div><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; "><ul style="margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; "><li style="margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; "><a href="https://github.com/openstack/nova#id3" target="_blank" style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; color: rgb(65, 131, 196); text-decoration: none; ">:option:`--vncserver_listen`</a> - defaults to 127.0.0.1 This is the address that vncservers will bind, and should be overridden in production deployments as a private address. Applies to libvirt only. For multi-host libvirt deployments this should be set to a host management ip on the same network as the proxies.</li><li style="margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; "><a href="https://github.com/openstack/nova#id5" target="_blank" style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; color: rgb(65, 131, 196); text-decoration: none; ">:option:`--vncserver_proxyclient_address`</a> - defaults to 127.0.0.1 This is the address of the compute host that nova will instruct proxies to use when connecting to instance vncservers. For all-in-one xen server domU deployments this can be set to 169.254.0.1. For multi-host xen server domU deployments this can be set to a dom0 management ip on the same network as the proxies. For multi-host libvirt deployments this can be set to a host management ip on the same network as the proxies.</li><li style="margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; "><a href="https://github.com/openstack/nova#id7" target="_blank" style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; color: rgb(65, 131, 196); text-decoration: none; ">:option:`--novncproxy_base_url=[base url for client connections]`</a> - this is the public base url to which clients will connect. "?token=abc" will be added to this url for the purposes of auth. When using the system as described in this document, an appropriate value is "<a target="_blank" style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font: inherit; color: rgb(65, 131, 196); text-decoration: none; "></a><a href="http://$SERVICE_HOST:6080/vnc_auto.html">http://$SERVICE_HOST:6080/vnc_auto.html</a>" where SERVICE_HOST is a public hostname.</li></ul></span></div><div>Suppose you have 2 servers, APISERVER and COMPUTESERVER:</div><div><br></div><div>APISERVER:</div><div>public hostname =<span class="Apple-converted-space"> </span><a href="http://my.server.com" target="_blank">my.server.com</a></div><div>management ip = 192.168.1.1</div><div>public ip = 172.24.4.1</div><div><br></div><div>COMPUTESERVER:</div><div>management ip = 192.168.1.2</div><div><br></div><div>Your nova.conf con COMPUTESERVER would need the following flags:</div><div><br></div><div><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; ">novncproxy_base_url=</span><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; "><a href="http://my.server.com:6080/vnc_auto.html" target="_blank">http://my.server.com:6080/vnc_auto.html</a>or </span><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; ">novncproxy_base_url=</span><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; "><a href="http://172.24.4.1:6080/vnc_auto.html">http://</a></span><a href="http://172.24.4.1:6080/vnc_auto.html">172.24.4.1</a><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; "><a href="http://172.24.4.1:6080/vnc_auto.html">:6080/vnc_auto.html</a></span></div><div><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; ">vncserver_proxyclient_address=192.168.1.2</span></div><div><span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; ">vncserver_listen=192.168.1.2</span></div><div><br></div><div>Note that <span style="font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; color: rgb(51, 51, 51); line-height: 22px; ">novncproxy_base_url references a public ip or hostname (so clients can connect), while the other flags use private ips.</span></div><div><br></div><div>For more info:</div><a href="https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst" target="_blank">https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst</a><div><br></div><div><br><div>On Thu, Mar 29, 2012 at 11:07 AM, Lucian Thomaz<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><blockquote style="padding-left: 1ex; "><div><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?<span><font color="#888888"><br></font></span></font><span><font color="#888888"><br><br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz </strong></font></div><br></font></span></div></div></div><br>_______________________________________________<br>Mailing list:<span class="Apple-converted-space"> </span><a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     :<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :<span class="Apple-converted-space"> </span><a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   :<span class="Apple-converted-space"> </span><a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br><br></blockquote></div><br></div></div></div><br>_______________________________________________ Mailing list:<span class="Apple-converted-space"> </span><a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>Post to :<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><span class="Apple-converted-space"> </span>Unsubscribe :<span class="Apple-converted-space"> </span><a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><span class="Apple-converted-space"> </span>More help :<a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div></div></div></div></div><br>_______________________________________________<br>Mailing list:<span class="Apple-converted-space"> </span><a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     :<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :<span class="Apple-converted-space"> </span><a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   :<span class="Apple-converted-space"> </span><a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br><br></blockquote></div><br></div></div>_______________________________________________<br>Mailing list:<span class="Apple-converted-space"> </span><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     :<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :<span class="Apple-converted-space"> </span><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   :<span class="Apple-converted-space"> </span><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></blockquote></div><br></div></body></html>