<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Hi Daniel,<br><br>Using Firefox and Firebug I can see that actually the requests which have trouble are those using AJAX, so the design/layout of Sunstone loads but no data, everything is empty. The requests do not give a 50x error but a 403 Forbidden. Here is a few example of them taken from the Network tab of Firebug:<br><br>3ms<br>GET vm?timeout=false<br>403 Forbidden<br>sunstone-frontend<br>9 B<br>192.168.100.170:443<br> <br>80ms<br>GET image?timeout=true<br>403 Forbidden<br>sunstone-frontend<br>9 B<br>192.168.100.170:443<br> <br>41ms<br>GET vnet?timeout=true<br>403 Forbidden<br>sunstone-frontend<br>9 B<br>192.168.100.170:443<br><br>Do you have any ideas what could be generating that 403?<br><br>Cheers,<br>ML<br><div><span><br></span></div><div style="display: block;"
 class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, February 4, 2014 12:01 PM, Daniel Molina <dmolina@opennebula.org> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv4213651812"><div><div dir="ltr">Hi,<div class="yiv4213651812gmail_extra"><br clear="none"><br clear="none"><div class="yiv4213651812gmail_quote">On 2 February 2014 00:06, ML mail <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:mlnospam@yahoo.com" target="_blank" href="mailto:mlnospam@yahoo.com">mlnospam@yahoo.com</a>></span> wrote:<br clear="none">

<blockquote class="yiv4213651812gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;"><div>

<div><div style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;"><div>Hi,</div><div><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

I am trying to setup nginx as HTTPS reverse proxy to sunstone as described in the OpenNebula3 book. I can get it to work up to the login screen but once logged I get the following error message from sunstone:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

<br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">It appears there was a server exception. Please check server's log.<br clear="none">

</div></div></div></div></div></div></blockquote><div><br clear="none"></div><div>Could yo check what request is causing this error? If you are using Chrome you can check it in the Network tab of the developer tools, you should look for a request returning a 500 error.</div>

<div><br clear="none"></div><div>Cheers</div><div> </div><blockquote class="yiv4213651812gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

<div><div><div style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

<br clear="none">Checking sunstone.log or sunstone.error does not show any error. Anyone knows what could be wrong?</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

<br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">Below is my nginx server setup:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">

<br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">upstream sunstone {<br clear="none">        server <a rel="nofollow" shape="rect" target="_blank"  href="http://127.0.0.1:9869/">127.0.0.1:9869</a>;<br clear="none">

}<br clear="none"><br clear="none">server {<br clear="none">        listen 443;<br clear="none">        server_name
 sunstone-frontend;<br clear="none">        ssl on;<br clear="none">        ssl_certificate /etc/ssl/certs/sunstone.crt;<br clear="none">        ssl_certificate_key /etc/ssl/private/sunstone.key;<br clear="none">        location / {<br clear="none">                proxy_pass <a rel="nofollow" shape="rect" target="_blank" href="http://sunstone/">http://sunstone</a>;<br clear="none">

        }<br clear="none">}<br clear="none"><br clear="none"><br clear="none">Cheers,<br clear="none">ML<br clear="none"><br clear="none"></div></div></div></div></div></div><br clear="none">_______________________________________________<br clear="none">
Users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div dir="ltr"><div>--<br clear="none"></div>Daniel Molina<br clear="none">Project Engineer<br clear="none">OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.opennebula.org/">www.OpenNebula.org</a> | <a rel="nofollow" shape="rect" ymailto="mailto:dmolina@opennebula.org" target="_blank" href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a> | @OpenNebula</div><div class="yiv4213651812yqt8697656176" id="yiv4213651812yqtfd10632">


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