<div dir="ltr">Hi Rolandas,<div class="gmail_extra"><br><br><div class="gmail_quote">On 19 June 2013 12:42, Rolandas Naujikas <span dir="ltr"><<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.vu.lt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Because of <a href="http://dev.opennebula.org/projects/opennebula/repository/revisions/f71432552351ff348fcfc1677585d831301d1bb7" target="_blank">http://dev.opennebula.org/<u></u>projects/opennebula/<u></u>repository/revisions/<u></u>f71432552351ff348fcfc1677585d8<u></u>31301d1bb7</a> (f7143255) self-service portal timeouts in 5s.<br>
<br>
There is a working patch for that (or occi/ui should use the same cookie as sunstone):<br>
<br>
--- lib/ruby/cloud/occi/ui/public/<u></u>js/sunstone.js.orig 2013-06-19 13:21:29.000000000 +0300<br>
+++ lib/ruby/cloud/occi/ui/public/<u></u>js/sunstone.js 2013-06-19 13:39:01.000000000 +0300<br>
@@ -296,9 +296,9 @@ $(document).ready(function(){<br>
setLogin();<br>
<br>
setInterval(function(){<br>
- var user_cookie = cookie["one-user"];<br>
+ var user_cookie = cookie["occi-user"];<br>
readCookie();<br>
- if ((cookie["one-user"] == null) || (cookie["one-user"] !== user_cookie)) {<br>
+ if ((cookie["occi-user"] == null) || (cookie["occi-user"] !== user_cookie)) {<br>
window.location.href='/';<br>
}<br>
},5000);<br>
<br></blockquote><div><br></div><div style>This patch should fix the problem:</div><div><a href="https://gist.github.com/dmamolina/9e1413ed11fb9f62a8d7">https://gist.github.com/dmamolina/9e1413ed11fb9f62a8d7</a><br></div>
<div><br></div><div style>Thank you for the feedback<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
</div><div>--</div>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
<br>
</div></div></div></div>