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

Jenkins JIRA | ed sankks | 5 years ago
  1. 0

    After a fresh install and changing JAVA_CMD and JENKINS_ARGS to use the correct user/role, service does not come up on the browser. It throws server error 500 that shows: Sorry, could not locate jenkins as a component, so chose the closest that would get attention. Status Code: 500 Exception: Stacktrace: hudson.security.AccessDeniedException2: anonymous is missing the Read permission at hudson.security.ACL.checkPermission(ACL.java:53) at hudson.model.Node.checkPermission(Node.java:381) at jenkins.model.Jenkins.getTarget(Jenkins.java:3361) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:496) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 5 years ago | ed sankks
    hudson.security.AccessDeniedException2: anonymous is missing the Read permission
  2. 0

    After a fresh install and changing JAVA_CMD and JENKINS_ARGS to use the correct user/role, service does not come up on the browser. It throws server error 500 that shows: Sorry, could not locate jenkins as a component, so chose the closest that would get attention. Status Code: 500 Exception: Stacktrace: hudson.security.AccessDeniedException2: anonymous is missing the Read permission at hudson.security.ACL.checkPermission(ACL.java:53) at hudson.model.Node.checkPermission(Node.java:381) at jenkins.model.Jenkins.getTarget(Jenkins.java:3361) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:496) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 5 years ago | ed sankks
    hudson.security.AccessDeniedException2: anonymous is missing the Read permission
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    unable to start jenkins after editing matrix based security

    Stack Overflow | 3 years ago | Karthikeyan
    hudson.security.AccessDeniedException2: anonymous is missing the Overall/Read permission
  6. 0

    hudson.security.AccessDeniedException2: anonymous is missing the Overall/Read permission

    Google Groups | 3 years ago | HYH
    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 Read permission

      at hudson.security.ACL.checkPermission()
    2. Hudson
      Node.checkPermission
      1. hudson.security.ACL.checkPermission(ACL.java:53)
      2. hudson.model.Node.checkPermission(Node.java:381)
      2 frames
    3. jenkins.model
      Jenkins.getTarget
      1. jenkins.model.Jenkins.getTarget(Jenkins.java:3361)
      1 frame
    4. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:496)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      3. org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      4. org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      4 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    6. winstone
      RequestDispatcher.doFilter
      1. winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      2. winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      3. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      3 frames
    7. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      2 frames
    8. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    9. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      1 frame
    10. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    11. Hudson
      HudsonFilter.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      3 frames
    12. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    13. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    14. winstone
      RequestHandlerThread.run
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      3. winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      5 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame