org.gitlab.api.GitlabAPIException

Jenkins JIRA | Ye Deming | 3 months ago
  1. 0

    After success in gitlab: Authorization required Authorize jenkins to use your account? You are an admin, which means granting access to jenkins will allow them to interact with GitLab as an admin as well. Proceed with caution. This application will be able to: Access your API it finally fail in jenkins: org.gitlab.api.GitlabAPIException at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:369) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:146) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116) at org.gitlab.api.GitlabAPI.getUser(GitlabAPI.java:137) at org.jenkinsci.plugins.GitLabAuthenticationToken.<init>(GitLabAuthenticationToken.java:100) at org.jenkinsci.plugins.GitLabSecurityRealm.doFinishLogin(GitLabSecurityRealm.java:326) at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:196) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) maybe beacuse I use nignx to redirect gitlab?

    Jenkins JIRA | 3 months ago | Ye Deming
    org.gitlab.api.GitlabAPIException
  2. 0

    [JIRA] (JENKINS-37741) gitlab oauth plugin:GitlabAPIException

    Google Groups | 3 months ago | yedem...@163.com (JIRA)
    org.gitlab.api.GitlabAPIException

    Root Cause Analysis

    1. org.gitlab.api.GitlabAPIException

      No message provided

      at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError()
    2. Gitlab Java API Wrapper
      GitlabAPI.getUser
      1. org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:369)
      2. org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:146)
      3. org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116)
      4. org.gitlab.api.GitlabAPI.getUser(GitlabAPI.java:137)
      4 frames
    3. org.jenkinsci.plugins
      GitLabSecurityRealm.doFinishLogin
      1. org.jenkinsci.plugins.GitLabAuthenticationToken.<init>(GitLabAuthenticationToken.java:100)
      2. org.jenkinsci.plugins.GitLabSecurityRealm.doFinishLogin(GitLabSecurityRealm.java:326)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
      3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
      4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      8. org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:196)
      9. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      10. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      11. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      12. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      13. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      13 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      2 frames
    8. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
      2 frames