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

unhandled exception after updating gitlab branch source plugin to 1.5.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      jenkins 2.263.1
      gitlab ee 13.3.5
      gitlab branch source 1.5.3
    • Similar Issues:

      Description

      after updating GitLab branch source plugin to the latest version, I started receiving gitlab_branch_source_exception.txtin the server log every time a webhook is activated from the gitlab server.

      this didn't happen with gitlab branch source plugin 1.5.1.

        Attachments

          Activity

          Hide
          stikus Konstantin Grammatikati added a comment - - edited

          Same problem here (after update to 1.5.3):

          Dec 30, 2020 12:49:23 PM WARNING io.jenkins.plugins.gitlabbranchsource.GitLabWebHookAction isValidToken
           Error while validating token: null
           Dec 30, 2020 12:49:23 PM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException
           Caught unhandled exception with ID 7e758815-1e42-4de5-ad7d-d1d7dca1225e
           java.lang.Exception: Expecting a valid secret token
           at org.kohsuke.stapler.HttpResponses.error(HttpResponses.java:91)
           at io.jenkins.plugins.gitlabbranchsource.GitLabSystemHookAction.doPost(GitLabSystemHookAction.java:75)
           at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
           at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
           at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
           at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
           at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
           at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536)
           at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
           at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
           at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
           at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:457)
           at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
           at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
           at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
           at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763)
           at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
           at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
           at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
           at hudson.plugins.locale.LocaleFilter.doFilter(LocaleFilter.java:42)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
           at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at io.jenkins.plugins.gitlabbranchsource.GitLabSystemHookAction.process(GitLabSystemHookAction.java:49)
           at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:127)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
           at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
           at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
           at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
           at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
           at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
           at org.eclipse.jetty.server.Server.handle(Server.java:516)
           at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
           at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
           at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
           at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
           at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
           at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135)
           at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
           at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
           at java.lang.Thread.run(Thread.java:748)

          Moreover - not our webhooks not working due to 401 return code from Jenkins:

          Hook executed successfully but returned HTTP 401 <!DOCTYPE html><html class=""><head resURL="/static/f52db8db" data-rooturl="" data-resurl="/static/f52db8db" data-extensions-available="true" data-unit-test="false" data-imagesurl="/static/f52db8db/images" data-crumb-header="Jenkins-Crumb" data-crumb-value="f29ef53118bb44cbe643d9afd701c257a96cde0a531dd23f232c429a1db78ebc"> <title>Jenkins [Jenkins]</title><link rel="stylesheet" href="/static/f52db8db/jsbundles/base-styles-v2.css" type="text/css"><link rel="stylesheet" href="/static/f52db8db/css/color.css" type="text/css"><link rel="stylesheet" href="/static/f52db8db/css/responsive-grid.css" type="text/css"><link rel="shortcut icon" href="/static/f52db8db/favicon.ico" type="image/vnd.microsoft.icon"><link color="black" rel="mask-icon" href="/images/mask-icon.svg"><script src="/static/f52db8db/scripts/prototype.js" type="text/javascript"></script><script src="/static/f52db8db/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/f52db8db/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/f52db8db/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/f52db8db/scripts/yui/dom/dom-min.js"></script><script src="/static/f52db8db/scripts/yui/event/event-min.js"></script><script src="/static/f52db8db/scripts/yui/animation/animation-min.js"></script><script src="/static/f52db8db/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/f52db8db/scripts/yui/container/container-min.js"></script><script src="/static/f52db8db/scripts/yui/connection/connection-min.js"></script><script src="/static/f52db8db/scripts/yui/datasource/datasource-min.js"></script><script src="/static/f52db8db/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/f52db8db/scripts/yui/menu/menu-min.js"></script><script src="/static/f52db8db/scripts/yui/element/element-min.js"></script><script src="/static/f52db8db/scripts/yui/button/button-min.js"></script><script src="/static/f52db8db/scripts/yui/storage/storage-min.js"></script><script src="/static/f52db8db/scripts/polyfills.js" type="text/javascript"></script><script src="/static/f52db8db/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/f52db8db/scripts/sortable.js" type="text/javascript"></script><link rel="stylesheet" href="/static/f52db8db/scripts/yui/container/assets/container.css" type="text/css"><link rel="stylesheet" href="/static/f52db8db/scripts/yui/container/assets/skins/sam/container.css" type="text/css"><link rel="stylesheet" href="/static/f52db8db/scripts/yui/menu/assets/skins/sam/menu.css" type="text/css"><link rel="stylesheet" href="/static/f52db8db/jsbundles/ui-refresh-overrides.css" type="text/css"><meta name="ROBOTS" content="INDEX,NOFOLLOW"><meta name="viewport" content="width=device-width, initial-scale=1"><script src="/adjuncts/f52db8db/org/kohsuke/stapler/jquery/jquery.full.js" type="text/javascript"></script><script>var Q=jQuery.noConflict()</script><script src="/static/f52db8db/jsbundles/vendors.js" type="text/javascript"></script><script src="/static/f52db8db/jsbundles/page-init.js" type="text/javascript"></script></head><body data-model-type="hudson.model.Hudson" id="jenkins" class="yui-skin-sam one-column jenkins-2.263.1" data-version="2.263.1"><a href="#skip2content" class="skiplink">Skip to content</a><div id="page-head"><header id="header" class="page-header"><div class="page-header__brand"><div class="logo"><a id="jenkins-home-link" href="/"><img src="/static/f52db8db/images/jenkins-header-logo-v2.svg" alt="[Jenkins]" id="jenkins-head-icon"><img src="/static/f52db8db/images/title.png" alt="Jenkins" width="139" id="jenkins-name-icon" height="34"></a></div><a href="/" class="page-header__brand-link"><img src="/static/f52db8db/images/jenkins-header-logo-v2.svg" alt="[Jenkins]" class="page-header__brand-image"><span class="page-header__brand-name">Jenkins</span></a></div><div class="searchbox hidden-xs"><form role="search" method="get" name="search" action="/search/" style="position:relative;" class="no-json"><div id="search-box-sizer"></div><div id="searchform"><input role="searchbox" name="q" placeholder="search" id="search-box" class="main-search__input"><span class="main-search__icon-leading"><svg viewBox="0 0 24 24" tooltip="" focusable="false" class="svg-icon "><use href="/static/f52db8db/images/material-icons/svg-sprite-action-symbol.svg#ic_search_24px"></use></svg></span><a href="https://jenkins.io/redirect/search-box" class="main-search__icon-trailing"><svg viewBox="0 0 24 24" tooltip="" focusable="false" class="svg-icon "><use href="/static/f52db8db/images/material-icons/svg-sprite-action-symbol.svg#ic_help_outline_24px"></use></svg></a><div id="search-box-completion"></div><script>createSearchBox("/search/");</script></div></form></div><div class="login page-header__hyperlinks"><div id="visible-am-insertion" class="page-header__am-wrapper"></div><a href="/login?from=%2Fgitlab-webhook%2Fpost"><b>log in</b></a></div></header><div id="breadcrumbBar"><tr id="top-nav"><td id="left-top-nav" colspan="2"><link rel='stylesheet' href='/adjuncts/f52db8db/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/f52db8db/lib/layout/breadcrumbs.js' type='text/javascript'></script><div class="top-sticker noedge"><div class="top-sticker-inner"><div class="breadcrumbs__wrapper"><ul id="breadcrumbs"><li class="item"><a href="/" class="model-link inside">Dashboard</a></li><li href="/" class="children"></li></ul><div id="breadcrumb-menu-target"></div></div></div></div></td></tr></div></div><div id="page-body" class="clear"><div id="main-panel"><a name="skip2content"></a><h1 style="text-align: center"><img src="/static/f52db8db/images/rage.png" width="154" height="179"><span style="font-size:50px"> Oops!</span></h1><div id="error-description"><h2 style="text-align: center">A problem occurred while processing the request.</h2><p style="text-align: center">Logging ID=3c37717b-661b-4d8d-bbb9-1204a230784a</div></div></div><footer class="page-footer"><div class="container-fluid"><div class="page-footer__flex-row"><div class="page-footer__footer-id-placeholder" id="footer"></div><div class="page-footer__links rest_api hidden-xs"><a href="api/">REST API</a></div><div class="page-footer__links page-footer__links--white jenkins_ver"><a rel="noopener noreferrer" href="https://jenkins.io/" target="_blank">Jenkins 2.263.1</a></div></div></div></footer><script async="true" src="/static/f52db8db/scripts/svgxuse.min.js" type="text/javascript"></script></body></html>
          

          Downgraded to 1.5.1 and waiting for update

          Show
          stikus Konstantin Grammatikati added a comment - - edited Same problem here (after update to 1.5.3): Dec 30, 2020 12:49:23 PM WARNING io.jenkins.plugins.gitlabbranchsource.GitLabWebHookAction isValidToken Error while validating token: null Dec 30, 2020 12:49:23 PM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException Caught unhandled exception with ID 7e758815-1e42-4de5-ad7d-d1d7dca1225e java.lang.Exception: Expecting a valid secret token at org.kohsuke.stapler.HttpResponses.error(HttpResponses.java:91) at io.jenkins.plugins.gitlabbranchsource.GitLabSystemHookAction.doPost(GitLabSystemHookAction.java:75) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:457) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694) at org.kohsuke.stapler.Stapler.service(Stapler.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.locale.LocaleFilter.doFilter(LocaleFilter.java:42) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at io.jenkins.plugins.gitlabbranchsource.GitLabSystemHookAction.process(GitLabSystemHookAction.java:49) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:127) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) at java.lang. Thread .run( Thread .java:748) Moreover - not our webhooks not working due to 401 return code from Jenkins: Hook executed successfully but returned HTTP 401 <!DOCTYPE html><html class= ""><head resURL=" / static /f52db8db " data-rooturl=" " data-resurl=" / static /f52db8db " data-extensions-available=" true " data-unit-test=" false " data-imagesurl=" / static /f52db8db/images " data-crumb-header=" Jenkins-Crumb " data-crumb-value=" f29ef53118bb44cbe643d9afd701c257a96cde0a531dd23f232c429a1db78ebc "> <title>Jenkins [Jenkins]</title><link rel=" stylesheet " href=" / static /f52db8db/jsbundles/base-styles-v2.css " type=" text/css "><link rel=" stylesheet " href=" / static /f52db8db/css/color.css " type=" text/css "><link rel=" stylesheet " href=" / static /f52db8db/css/responsive-grid.css " type=" text/css "><link rel=" shortcut icon " href=" / static /f52db8db/favicon.ico " type=" image/vnd.microsoft.icon "><link color=" black " rel=" mask-icon " href=" /images/mask-icon.svg "><script src=" / static /f52db8db/scripts/prototype.js " type=" text/javascript "></script><script src=" / static /f52db8db/scripts/behavior.js " type=" text/javascript "></script><script src= '/adjuncts/f52db8db/org/kohsuke/stapler/bind.js' type= 'text/javascript' ></script><script src=" / static /f52db8db/scripts/yui/yahoo/yahoo-min.js "></script><script src=" / static /f52db8db/scripts/yui/dom/dom-min.js "></script><script src=" / static /f52db8db/scripts/yui/event/event-min.js "></script><script src=" / static /f52db8db/scripts/yui/animation/animation-min.js "></script><script src=" / static /f52db8db/scripts/yui/dragdrop/dragdrop-min.js "></script><script src=" / static /f52db8db/scripts/yui/container/container-min.js "></script><script src=" / static /f52db8db/scripts/yui/connection/connection-min.js "></script><script src=" / static /f52db8db/scripts/yui/datasource/datasource-min.js "></script><script src=" / static /f52db8db/scripts/yui/autocomplete/autocomplete-min.js "></script><script src=" / static /f52db8db/scripts/yui/menu/menu-min.js "></script><script src=" / static /f52db8db/scripts/yui/element/element-min.js "></script><script src=" / static /f52db8db/scripts/yui/button/button-min.js "></script><script src=" / static /f52db8db/scripts/yui/storage/storage-min.js "></script><script src=" / static /f52db8db/scripts/polyfills.js " type=" text/javascript "></script><script src=" / static /f52db8db/scripts/hudson-behavior.js " type=" text/javascript "></script><script src=" / static /f52db8db/scripts/sortable.js " type=" text/javascript "></script><link rel=" stylesheet " href=" / static /f52db8db/scripts/yui/container/assets/container.css " type=" text/css "><link rel=" stylesheet " href=" / static /f52db8db/scripts/yui/container/assets/skins/sam/container.css " type=" text/css "><link rel=" stylesheet " href=" / static /f52db8db/scripts/yui/menu/assets/skins/sam/menu.css " type=" text/css "><link rel=" stylesheet " href=" / static /f52db8db/jsbundles/ui-refresh-overrides.css " type=" text/css "><meta name=" ROBOTS " content=" INDEX,NOFOLLOW "><meta name=" viewport " content=" width=device-width, initial-scale=1 "><script src=" /adjuncts/f52db8db/org/kohsuke/stapler/jquery/jquery.full.js " type=" text/javascript "></script><script> var Q=jQuery.noConflict()</script><script src=" / static /f52db8db/jsbundles/vendors.js " type=" text/javascript "></script><script src=" / static /f52db8db/jsbundles/page-init.js " type=" text/javascript "></script></head><body data-model-type=" hudson.model.Hudson " id=" jenkins " class=" yui-skin-sam one-column jenkins-2.263.1 " data-version=" 2.263.1 "><a href=" #skip2content " class=" skiplink ">Skip to content</a><div id=" page-head "><header id=" header " class=" page-header "><div class=" page-header__brand "><div class=" logo "><a id=" jenkins-home-link " href=" / "><img src=" / static /f52db8db/images/jenkins-header-logo-v2.svg " alt=" [Jenkins] " id=" jenkins-head-icon "><img src=" / static /f52db8db/images/title.png " alt=" Jenkins " width=" 139 " id=" jenkins-name-icon " height=" 34 "></a></div><a href=" / " class=" page-header__brand-link "><img src=" / static /f52db8db/images/jenkins-header-logo-v2.svg " alt=" [Jenkins] " class=" page-header__brand-image "><span class=" page-header__brand-name ">Jenkins</span></a></div><div class=" searchbox hidden-xs "><form role=" search " method=" get " name=" search " action=" /search/ " style=" position:relative; " class=" no-json "><div id=" search-box-sizer "></div><div id=" searchform "><input role=" searchbox " name=" q " placeholder=" search " id=" search-box " class=" main-search__input "><span class=" main-search__icon-leading "><svg viewBox=" 0 0 24 24 " tooltip=" " focusable=" false " class=" svg-icon "><use href=" / static /f52db8db/images/material-icons/svg-sprite-action-symbol.svg#ic_search_24px "></use></svg></span><a href=" https: //jenkins.io/redirect/search-box " class=" main-search__icon-trailing "><svg viewBox=" 0 0 24 24 " tooltip=" " focusable=" false " class=" svg-icon "><use href=" / static /f52db8db/images/material-icons/svg-sprite-action-symbol.svg#ic_help_outline_24px "></use></svg></a><div id=" search-box-completion "></div><script>createSearchBox(" /search/ ");</script></div></form></div><div class=" login page-header__hyperlinks "><div id=" visible-am-insertion " class=" page-header__am-wrapper "></div><a href=" /login?from=%2Fgitlab-webhook%2Fpost "><b>log in</b></a></div></header><div id=" breadcrumbBar "><tr id=" top-nav "><td id=" left-top-nav " colspan=" 2 "><link rel= 'stylesheet' href= '/adjuncts/f52db8db/lib/layout/breadcrumbs.css' type= 'text/css' /><script src= '/adjuncts/f52db8db/lib/layout/breadcrumbs.js' type= 'text/javascript' ></script><div class=" top-sticker noedge "><div class=" top-sticker- inner "><div class=" breadcrumbs__wrapper "><ul id=" breadcrumbs "><li class=" item "><a href=" / " class=" model-link inside ">Dashboard</a></li><li href=" / " class=" children "></li></ul><div id=" breadcrumb-menu-target "></div></div></div></div></td></tr></div></div><div id=" page-body " class=" clear "><div id=" main-panel "><a name=" skip2content "></a><h1 style=" text-align: center "><img src=" / static /f52db8db/images/rage.png " width=" 154 " height=" 179 "><span style=" font-size:50px "> Oops!</span></h1><div id=" error-description "><h2 style=" text-align: center ">A problem occurred while processing the request.</h2><p style=" text-align: center ">Logging ID=3c37717b-661b-4d8d-bbb9-1204a230784a</div></div></div><footer class=" page-footer "><div class=" container-fluid "><div class=" page-footer__flex-row "><div class=" page-footer__footer-id-placeholder " id=" footer "></div><div class=" page-footer__links rest_api hidden-xs "><a href=" api/ ">REST API</a></div><div class=" page-footer__links page-footer__links--white jenkins_ver "><a rel=" noopener noreferrer " href=" https://jenkins.io/ " target=" _blank ">Jenkins 2.263.1</a></div></div></div></footer><script async=" true " src=" / static /f52db8db/scripts/svgxuse.min.js " type=" text/javascript"></script></body></html> Downgraded to 1.5.1 and waiting for update
          Hide
          p_hampson Paul "TBBle" Hampson added a comment -

          Also reported as GitHub #106.

          Show
          p_hampson Paul "TBBle" Hampson added a comment - Also reported as GitHub #106 .
          Hide
          yogeek Guillaume Dupin added a comment -

          Hello,

          This issue prevent us from upgrading this plugin to a version above 1.5.1.

          Is there any update on this please ?

          Thank you

          Show
          yogeek Guillaume Dupin added a comment - Hello, This issue prevent us from upgrading this plugin to a version above 1.5.1. Is there any update on this please ? Thank you
          Hide
          amidar Amit Dar added a comment - - edited

          issue still relevant:

          jenkins 2.289.2

          gitlab 14

          Show
          amidar Amit Dar added a comment - - edited issue still relevant: jenkins 2.289.2 gitlab 14

            People

            Assignee:
            surenpi Rick
            Reporter:
            amidar Amit Dar
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: