hudson.security.AccessDeniedException2: anonymous is missing the Administer permission

Jenkins JIRA | Johannes Luther | 4 years ago
  1. 0
  2. 0
  3. 0

    I have my Jenkins installation configured to require LDAP logins and only certain users are administrators and the rest just have read only rights. When restarting Jenkins after installing the ios-device-connector plugin, all my slaves fail to connect with the following: {noformat} ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. hudson.security.AccessDeniedException2: anonymous is missing the Administer permission at hudson.security.ACL.checkPermission(ACL.java:54) at hudson.model.Node.checkPermission(Node.java:393) at org.jenkinsci.plugins.ios.connector.iOSDeviceList.update(iOSDeviceList.java:91) at org.jenkinsci.plugins.ios.connector.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:21) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:396) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:317) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:454) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:293) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) {noformat} If I allow all users administrator access, then the slaves reconnect correctly and I can see the iOS device status.

    Jenkins JIRA | 4 years ago | Craig Newell
    hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have my Jenkins installation configured to require LDAP logins and only certain users are administrators and the rest just have read only rights. When restarting Jenkins after installing the ios-device-connector plugin, all my slaves fail to connect with the following: {noformat} ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. hudson.security.AccessDeniedException2: anonymous is missing the Administer permission at hudson.security.ACL.checkPermission(ACL.java:54) at hudson.model.Node.checkPermission(Node.java:393) at org.jenkinsci.plugins.ios.connector.iOSDeviceList.update(iOSDeviceList.java:91) at org.jenkinsci.plugins.ios.connector.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:21) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:396) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:317) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:454) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:293) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) {noformat} If I allow all users administrator access, then the slaves reconnect correctly and I can see the iOS device status.

    Jenkins JIRA | 4 years ago | Craig Newell
    hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
  6. 0

    anonymous is missing the Overall/Read permission on GlobalMatrixAuthorizationStrategy/checkName

    Stack Overflow | 2 years ago | John Turner
    hudson.security.AccessDeniedException2: anonymous is missing the Overall/Read permission

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.security.AccessDeniedException2

      anonymous is missing the Administer permission

      at hudson.security.ACL.checkPermission()
    2. Hudson
      Node.checkPermission
      1. hudson.security.ACL.checkPermission(ACL.java:54)
      2. hudson.model.Node.checkPermission(Node.java:394)
      2 frames
    3. com.cloudbees.plugins
      SystemCredentialsProvider.save
      1. com.cloudbees.plugins.credentials.SystemCredentialsProvider.save(SystemCredentialsProvider.java:178)
      1 frame
    4. hudson.plugins.sshslaves
      SSHLauncher.launch
      1. hudson.plugins.sshslaves.SSHLauncher.upgrade(SSHLauncher.java:407)
      2. hudson.plugins.sshslaves.SSHLauncher.getCredentials(SSHLauncher.java:351)
      3. hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:907)
      4. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:473)
      4 frames
    5. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:223)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:722)
      5 frames