CheersSorin--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 24 Jan 2017, at 11:24, Sorin Ionuț Sbârnea <sorin....@gmail.com> wrote:Thanks for the update, I think that an extension to 24 hours would be great. I don't mind pushing that login button once a week. --- Once a day was annoying.Not sure how many sessions are expired per day but here is an estimation regarding possible time saves:5000 * 5 seconds = ~ 7h ... saving almost a full time developer :)
Gerrit's default session expiry time is actually 12 hours (see https://gerrit-review.googlesource.com/Documentation/config-gerrit.html)
Nope, I don't have session expiration problems with other systems.ThanksSorin
Hi Sorin,it seems that the current timeout is 2 days (48h): this means that as soon as you use Gerrit at least "once every 2 days" you won't be asked to push that button.Pushing a login button once every 2 days (let's say 100 times a year), which takes around 2-3 secs would mean spending 300 secs a year for login (5 mins).Isn't that acceptable for you?On 24 Jan 2017, at 11:24, Sorin Ionuț Sbârnea <sorin....@gmail.com> wrote:Thanks for the update, I think that an extension to 24 hours would be great. I don't mind pushing that login button once a week. --- Once a day was annoying.Not sure how many sessions are expired per day but here is an estimation regarding possible time saves:5000 * 5 seconds = ~ 7h ... saving almost a full time developer :)There are currently 260 non-expired sessions on the system, and they are up to 2 days old.Are you sure you're getting logged out every day?
Can you point to a couple of time-stamps?Luca.Gerrit's default session expiry time is actually 12 hours (see https://gerrit-review.googlesource.com/Documentation/config-gerrit.html)Nope, I don't have session expiration problems with other systems.ThanksSorin
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
We have same problem we set up web expiration time to 1 year and still after 1 to 2 days (or change network) I am logout.What could be cause we every day in midnight make backup of gerrit database so we make restart with gerrit script (and that probably mess up)
Bingo: we see the same problem.# grep ' 403 ' httpd_log* | grep -v ' - - ' | wc -l
11It is quite sporadic though, only 11 entries over 49K calls (0.02%) but it is an issue for sure.I thought that the X-Gerrit-Auth was a thing of the past ... but we still use in the GWT UX isn't it?
If I am not mistaken, one is stored as a cookie (GerritAccount) whilst X-Gerrit-Auth is archived in the user session server-side and returned in the first GWT screen loaded, isn't it?
Luca.
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Do we have any updates on this? It seems that the experience persists: I am forced to login again at least once a day if not even more, and I visit Gerrit a LOT.
Yes, there is now an official issue on this problem:It seems that even if the session is in cache
, not expired, still valid ... the GerritAccount Cookie Expiry date doesn't get updated and thus the user is not able to recover it anymore :-(Genuine issue to be resolved IMHO.
Luca.
On Thursday, July 27, 2017 at 9:02:09 PM UTC+1, Sebastian Schuberth wrote:On Tuesday, July 18, 2017 at 10:30:40 AM UTC+2, ssba...@redhat.com wrote:Do we have any updates on this? It seems that the experience persists: I am forced to login again at least once a day if not even more, and I visit Gerrit a LOT.
Also, is this tracked as an issue yet? Now that it seems to be confirmed to be an issue in Gerrit we should probably do so.
Regards,
Sebastian
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
--
Sebastian Schuberth
On 9 Feb 2018, at 14:27, Saša Živkov <ziv...@gmail.com> wrote:On Fri, Feb 9, 2018 at 12:11 PM, lucamilanesio <luca.mi...@gmail.com> wrote:Yes, there is now an official issue on this problem:It seems that even if the session is in cacheHow do you know if it is in the (web-sessions) cache?
, not expired, still valid ... the GerritAccount Cookie Expiry date doesn't get updated and thus the user is not able to recover it anymore :-(Genuine issue to be resolved IMHO.Another possibility is that you have an user who (programmatically) creates a large number of sessions without logging them out.As the number of sessions approaches the max size of the web_sessions cache, guava cache will start to remove entriesfrom the cache and people will start loosing their sessions.
On 9 Feb 2018, at 14:27, Saša Živkov <ziv...@gmail.com> wrote:On Fri, Feb 9, 2018 at 12:11 PM, lucamilanesio <luca.mi...@gmail.com> wrote:Yes, there is now an official issue on this problem:It seems that even if the session is in cacheHow do you know if it is in the (web-sessions) cache?I just started the server, I did a show-caches, just one entry of 1024, 7 days TTL :-), not expired, still valid ... the GerritAccount Cookie Expiry date doesn't get updated and thus the user is not able to recover it anymore :-(Genuine issue to be resolved IMHO.Another possibility is that you have an user who (programmatically) creates a large number of sessions without logging them out.As the number of sessions approaches the max size of the web_sessions cache, guava cache will start to remove entriesfrom the cache and people will start loosing their sessions.That wasn't the case, this was reproduced in a single test environment.I definitely believe it is a genuine issue.