We are currently using Gerrit 2.13.5 version and our customers are getting logged out from webpage after 12 hours. It says "Session Expired"Though I have set the "maxAge = 3d ",it still doesn't help. I tried 1w and even 1yr but nothing fruitful.
--------- gerrit.config -------------[cache "web_sessions"]maxAge = 3d
Hi,We are currently using Gerrit 2.13.5 version and our customers are getting logged out from webpage after 12 hours. It says "Session Expired"Though I have set the "maxAge = 3d ",it still doesn't help. I tried 1w and even 1yr but nothing fruitful.Any pointers will be helpful.
"web_sessions"
Hi,We are currently using Gerrit 2.13.5 version and our customers are getting logged out from webpage after 12 hours.
It says "Session Expired"
Though I have set the "maxAge = 3d ",it still doesn't help. I tried 1w and even 1yr but nothing fruitful.Any pointers will be helpful.--------- gerrit.config -------------[cache "web_sessions"]maxAge = 3d
--
--
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.
For more options, visit https://groups.google.com/d/optout.
On Wed, Oct 4, 2017 at 10:59 AM, hari <bhh...@gmail.com> wrote:Hi,We are currently using Gerrit 2.13.5 version and our customers are getting logged out from webpage after 12 hours.Is it exactly 12 hours for any web session? Or did you just see some of them expire after 12 hours?It says "Session Expired"We had a few cases where someone created excessive number of web_sessions from their automation scripts.Eventually, the web_sessions cache was full and started dropping other users' sessions.Users were seeing "Session Expired" at random times.
Though I have set the "maxAge = 3d ",it still doesn't help. I tried 1w and even 1yr but nothing fruitful.Any pointers will be helpful.--------- gerrit.config -------------[cache "web_sessions"]maxAge = 3d
--
--
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.
Hi Zivkov,It may not be exactly 12 hours. I haven't confirmed this. But what you suggested is interesting, when I ran query for show-caches, I see thisName |Entries | AvgGet |Hit Ratio|| Mem Disk Space| |Mem Disk|--------------------------------+---------------------+---------+---------+D web_sessions | 1024 309550 129.13m| | 94% 46%|
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.
We have the same issue now with Gerrit 2.15.3. I changed the config as recommended like[cache "web_sessions"]maxAge = 1wmemoryLimit = 1mdiskLimit = 128mIs there any other settings that I have to update to avoid this issue?
[auth]
type = OAUTH
gitBasicAuthPolicy = HTTP
cookieSecure = true
[cache]
directory = cache
[cache "web_sessions"]
maxAge = 5d