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

FSTrigger Polling not working because of SecurityException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).

      ...

      Polling remotely on BuildSlave

      Trying to monitor the folder '//server/builds/libs'
      [ERROR] - Polling error...
      [ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/
      [ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I confirm the issue. Ideally XTrigger Lib should be refactored to the plugin so that the classes get whitelisted automatically. CC Chris Lindee who was considering taking ownership of the lib.

            I will add the issue to https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+JEP-200, but I have no plans to work on it so far

            Show
            oleg_nenashev Oleg Nenashev added a comment - I confirm the issue. Ideally XTrigger Lib should be refactored to the plugin so that the classes get whitelisted automatically. CC Chris Lindee who was considering taking ownership of the lib. I will add the issue to https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+JEP-200 , but I have no plans to work on it so far
            Hide
            edu1989 Eduard Albach added a comment -

            Is there a workaround for this problem?

            Show
            edu1989 Eduard Albach added a comment - Is there a workaround for this problem?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Not that I know of. Somebody has to fix the plugin

             

            Show
            oleg_nenashev Oleg Nenashev added a comment - Not that I know of. Somebody has to fix the plugin  
            Hide
            achu Andy chu added a comment - - edited

            according to this post

            https://jenkins.io/blog/2018/03/15/jep-200-lts/#applying-workarounds

            You can "work around" the issue by providing the following JAVA opts and restart you Jenkins

            -Dhudson.remoting.ClassFilter=org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger,

            org.jenkinsci.lib.xtrigger.AbstractTrigger

             

            I try it on Plugin 0.39 and it seem to work for me. Hope this help

            Show
            achu Andy chu added a comment - - edited according to this post https://jenkins.io/blog/2018/03/15/jep-200-lts/#applying-workarounds You can "work around" the issue by providing the following JAVA opts and restart you Jenkins -Dhudson.remoting.ClassFilter=org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger, org.jenkinsci.lib.xtrigger.AbstractTrigger   I try it on Plugin 0.39 and it seem to work for me. Hope this help

              People

              • Assignee:
                Unassigned
                Reporter:
                chris_mh3 chris_mh3
              • Votes:
                6 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: