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

Reverse Proxy Auth Plugin 1.8.0 fails with 2.479.1

      We have updated our production server today, and followed the upgrade guide (upgrading the plugins before restart)

      The update failed on a fresh tomcat 10 / JDK 21

      config.xml is readable, no problem here (even if we chmod 777 the file), then the warning is not relevant.

       

      Please see attached logs, because I can't format correctly

          [JENKINS-74841] Reverse Proxy Auth Plugin 1.8.0 fails with 2.479.1

          Mark Waite added a comment - - edited

          The message in the log tells you what you need to do. It says:

          Failed Loading plugin Jenkins Reverse Proxy Auth Plugin v1.8.0 (reverse-proxy-auth-plugin)
          	java.io.IOException: Échec du chargement de : Jenkins Reverse Proxy Auth Plugin (reverse-proxy-auth-plugin 1.8.0)
           - Mise à jour nécessaire : Jenkins Mailer Plugin (mailer 488.v0c9639c1a_eb_3) doit être mis à jour en 489.vd4b_25144138f ou plus
          

          Update the mailer plugin to its most recent release. Steps include:

          Mark Waite added a comment - - edited The message in the log tells you what you need to do. It says: Failed Loading plugin Jenkins Reverse Proxy Auth Plugin v1.8.0 (reverse-proxy-auth-plugin) java.io.IOException: Échec du chargement de : Jenkins Reverse Proxy Auth Plugin (reverse-proxy-auth-plugin 1.8.0) - Mise à jour nécessaire : Jenkins Mailer Plugin (mailer 488.v0c9639c1a_eb_3) doit être mis à jour en 489.vd4b_25144138f ou plus Update the mailer plugin to its most recent release. Steps include: wget https://updates.jenkins.io/download/plugins/mailer/489.vd4b_25144138f/mailer.hpi mv mailer.hpi $JENKINS_HOME/plugins/mailer.jpi

          Robert Smith added a comment -

          Sure, but as it's not documented per se, I was more concerned by 

          cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
          cause-message       : org.jenkinsci.plugins.reverse_proxy_auth.ReverseProxySecurityRealm
          class               : hudson.model.Hudson
          required-type       : hudson.model.Hudson
          converter-type      : hudson.util.RobustReflectionConverter
          path                : /hudson/securityRealm
          line number         : 24
          version             : 2.479.1

          No ?

          Robert Smith added a comment - Sure, but as it's not documented per se, I was more concerned by  cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message       : org.jenkinsci.plugins.reverse_proxy_auth.ReverseProxySecurityRealm class               : hudson.model.Hudson required-type       : hudson.model.Hudson converter-type      : hudson.util.RobustReflectionConverter path                : /hudson/securityRealm line number         : 24 version             : 2.479.1 No ?

          Mark Waite added a comment -

          When plugin initialization fails, the classes are not available. Fixing the first message will almost always fix the second.

          Mark Waite added a comment - When plugin initialization fails, the classes are not available. Fixing the first message will almost always fix the second.

          Robert Smith added a comment -

          Good, will retry the update later today and will let you know how it goes

          Robert Smith added a comment - Good, will retry the update later today and will let you know how it goes

          Mark Waite added a comment -

          Thanks. Documentation needs an update as well, but I may not have time to adjust the documentation for a few hours.

          Mark Waite added a comment - Thanks. Documentation needs an update as well, but I may not have time to adjust the documentation for a few hours.

          Robert Smith added a comment - - edited

          I could update the instance by adding the mailer plugin manually, many thanks. But once started, another bug arised. Opening another ticket now.

          Robert Smith added a comment - - edited I could update the instance by adding the mailer plugin manually, many thanks. But once started, another bug arised. Opening another ticket now.

            basil Basil Crow
            mamamia Robert Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: