Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51734

sessionTimeout isn't be honoured

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since upgrade to Jenkins 2.107.1 the sessionTimeout option isn't working.

      We run Jenkins in a docker image (jenkins/jenkins:2.107.3) with option "ENV JENKINS_OPTS="–sessionTimeout=1440". We use the crowd2 as our login engine.

      Since upgrading to 2.107.1 sessions are only being held active for ~30mins.

      I can see that the option is running:

      "-Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 -jar /usr/share/jenkins/jenkins.war --sessionTimeout=1440"

        Attachments

          Issue Links

            Activity

            Hide
            bhc Ben Copeland added a comment -

            I have both ENV JENKINS_OPTS="--sessionTimeout=1440 --sessionEviction=1440" set in my dockerfile but seem to still be getting logged out every ~10mins. 

            Show
            bhc Ben Copeland added a comment - I have both ENV JENKINS_OPTS="--sessionTimeout=1440 --sessionEviction=1440" set in my dockerfile but seem to still be getting logged out every ~10mins. 
            Hide
            inkasar in ka added a comment -

            sessionEviction also not works for me. Anybody found a work around?

             

            Show
            inkasar in ka added a comment - sessionEviction also not works for me. Anybody found a work around?  
            Hide
            pingunaut Martin Spielmann added a comment -

            Im sorry I won't be able to work I  this topic before March. Any help and PR is highly appreciated.

            Show
            pingunaut Martin Spielmann added a comment - Im sorry I won't be able to work I  this topic before March. Any help and PR is highly appreciated.
            Hide
            aruiz14 Alejandro Ruiz added a comment -

            Hi! Is there any update on this? Is it possible to workaround this using Groovy init scripts?

            Show
            aruiz14 Alejandro Ruiz added a comment - Hi! Is there any update on this? Is it possible to workaround this using Groovy init scripts?
            Hide
            tarvi Tarvi Pillessaar added a comment -

            sessionEviction is actually working (tested with version 2.176.1), just sessionEviction is in seconds and sessionTimeout is in minutes.

            Show
            tarvi Tarvi Pillessaar added a comment - sessionEviction is actually working (tested with version 2.176.1), just sessionEviction is in seconds and sessionTimeout is in minutes.

              People

              • Assignee:
                pingunaut Martin Spielmann
                Reporter:
                bhc Ben Copeland
              • Votes:
                10 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated: