-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
jenkins 2.44
blueocean-plugin 1.0.0-b21
-
Powered by SuggestiMate -
1.0
It seems under some conditions the proceed button for input does not work and the UI does not automatically update to reflect this state.
There needs to be some manual testing around inputs to check if we are handling errors correctly and that the state of the UI is handled appropriately in error cases.
It would be prudent to test around error cases and SSE updates for input here too.
It would also be worth ensuring that under successful conditions that the UI updates correctly on proceeding with input.
Original request
Recently our inputs (with checkboxes) stopped to work. Pressing "Proceed" button does nothing, there is an error response:
Error processing Input Submit request. This Run instance does not have an Input with an id of 'D875578491b444dd8bc3f26a12399d2a'.
This occurs in ~90%, some success still may exist )
- is duplicated by
-
JENKINS-41663 UI tends to not update (paused for input?)
-
- Closed
-
-
JENKINS-42070 Input buttons require page refresh
-
- Closed
-
[JENKINS-41662] Proceed button fails (investigate)
kamikaze would you be able to capture a HAR file when you click the proceed button? This will give us a snapshot of the response sent back to the server. If you wish to keep this information secret, you can email me directly at jdumay@cloudbees.com
jamesdumay yep, sent you to jdumay@cloudbees.com with issue name as a subject
jamesdumay there is one hypothesis I've found... when almost all workers left to home - I've got near 100% success ratio. Our conditions are such tricky... right now all of us work under single "admin" user account. Is it possible that our parallel activity breaks something? Right now we are testing one guy with his own account and he is able to succeed with inputs.
PR: https://github.com/jenkinsci/blueocean-plugin/pull/875
io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl has some unusual code, resetting the ID of the underlying pipeline InputStep instance to a random ID. The result of this ... two browsers load the same input step ... the first browser is screwed because the id it is using to submit against no longer corresponds to a valid ID because the load from the second browser caused it to be changed via io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl.
I would have thought it was a total no-no for Blue Ocean code to be modifying underlying object model data in this way. The side effects of changes like this would surely have to be pretty bad.
oh yes, this was a parallel problem as tfennelly found out.
Tom - not sure about that resetting of the ID or why - Vivek would know the story behind that if you ask him.
I'm facing a similar issue so I though I'de comment here instead of opening a new one...
When pressing proceed it seems nothing is happening and we are tempted to press the button again, and get `This Run instance does not have an Input with an id of "someID"` (I'm setting a fixed ID)
If we refresh we noticed proceed did work the page just takes to long to move to the next view.
I tried this with Chrome Dev tools open and it just seems that it takes a lot of time for something to happen, giving the impression that nothing was being done and so users tend to press proceed over and over again :/
We see the same behavior.
We expect that pressing the Run button should take us to the page i show in the second part of this picture. We should see the input page. But we don't. We have to press refresh.
Is there any thought on what we should investigate?
@tfennelly - I am still facing this issue while using interactive user input code as below -
timeout(time: 60, unit: 'SECONDS')
{ QA_ACTION = input(id: 'qaAction', message: 'What do you want to do?', parameters: [[$class: 'ChoiceParameterDefinition', defaultValue: 'NA', description:'Select Any of below QA Activities', name:'qaActionChoice', choices: "Move To QA\nApprove Package\nDiscard Package"]]) }I am indeed using v1.9.0 version of Blue Ocean and above bug was fixed in older versions 15 months back(1.0.0-b25 (March 6th, 2017)).
The behavior is exactly similar as reported above. Proceed button works 10-15% times while no activity in rest of the cases and works if refreshed the page.
I also verified the fix comments at https://github.com/jenkinsci/blueocean-plugin/pull/875
and I am not passing null id and only one instance running at a time.
Please suggest.
i can reroduce this issue. jenkins version 2.150.1
blueocean plugin 1.9.0
I am experiencing the same problem as reported above where after pressing the submit button the pipeline does not move on to the next stage unless I refresh the page.
Having the exact issue, it happens most of the time I use "input" step.
Console reports: "TypeError: error.responseBody is undefined (jenkins-js-extension.js:95465:21)"
I am experiencing the same problem with war: 2.190.3 and
Rolling back to different plugin versions puts blue ocean into a worsened, unusable state. No screen output.
Just saw this issue for the first time today on an instance maintained by my team.
- Jenkins - CloudBees Jenkins Distribution 2.204.1.3-rolling
- Blue Ocean - v1.21.0
Saw the same issue where first we got the message like
error processing input submit request...
Followed by subsequent attempts to submit the same input prompt giving us
JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
The build does move on an actually do the rest of it's task and end up reporting successful
This warning appears to only show itself to the submitting user if they are using the BlueOcean UI rather than the Classic Jenkins views.
In our testing today, when we instead use one of the classic view UI for input...
- direct input link: https://<hostname>/job/<folder>/job/<jobname>/job/<branchname>/<buildnumber>/input
- hovering over the pending stage in classic pipeline view
- clicking input link from within console log
...then the submission works fine without any visible errors/warnings and the job runs through to completion.
We are seeing the same issue with BlueOcean 1.22.0.
Do you guys use a reverse proxy? We are using Caddy 2 as a reverse proxy and i suspect that it could be the culprit.
We observed the same behaviour as christianciach pointed out. We are using nginx as a reverse proxy. When not using the reverse proxy, we can use the input as expected.
Our input in Jenkinsfile is:
stage('Deploy) { input { message 'Should we deploy to Satellite/Capsule?' ok 'Yes' } steps { echo 'deploying to Satellite/Capsules' } }
The issue was gone after we added Host, X-Forwarded-Proto and X-Forwarded-For Headers (before only X-Real-IP and X-Forwarded-Host). See e.g. https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
We are facing the same issue. This happens on a random basis and the jobs are not marked as success due to this. The below error get printed in the logs
Notifying on URL :********/109/wfapi/inputSubmit?inputId=Callback-4 Body :{"parameter":[
{"name":"stage","value":"Mapping Data with Masters"},{"name":"status","value":"SUCCESS"},{"name":"message","value":null}]} Request :POST ********/109/wfapi/inputSubmit?inputId=Callback-4 HTTP/1.1 Authorization :Basic YWRtaW46MTFkOGFmZTU1NmMwYWE2NTAyYWE4NmJmZDdjNTYyNjUwYw== Response: HttpResponseProxy{HTTP/1.1 500 Server Error [Date: Sat, 24 Oct 2020 00:04:33 GMT, X-Content-Type-Options: nosniff, Content-Type: text/html;charset=utf-8, Expires: Thu, 01 Jan 1970 00:00:00 GMT, Cache-Control: no-cache,no-store,must-revalidate, X-Hudson-Theme: default, Referrer-Policy: same-origin, Set-Cookie: JSESSIONID.da4ac64f=node011boas5cp6i5p1shtqxuk3x6mh76957.node0; Path=/; HttpOnly, X-Hudson: 1.395, X-Jenkins: 2.222.4, X-Jenkins-Session: fd113f9c, X-Hudson-CLI-Port: 43693, X-Jenkins-CLI-Port: 43693, X-Jenkins-CLI2-Port: 43693, X-Frame-Options: sameorigin, X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqva/9ry3/lrtBjx3XFH2ZdbMM11SvMWGUUbycxLvjcX9xjPo9xRHtiRWTrrTfOGBG8SyaDpYJiUb60eqj459q9WreJ+w/5EXkYGzT2u4UUJZvUKzBVOVFyqqpsElS+N4V6tV5AR5WgUWLelCJDOiBR9XbP9MWsWYBl1+06/ujYvRK2YPCYQzcdVE56Am1IFc1d7FwqD1s4k5W8aDYlfqsOvaXNK6ailiMxyEbYiemCTGCtkiTNmdcHh3AhTwTWtAEH4w+zBstDa7+pQg2JlH+5UfhfkghjjsfdgMfTE7N5MKIq0XA52XrF0RFBFYK4fFttRHkTiiVLwIDAQAB, X-SSH-Endpoint: ******* Server: Jetty(9.4.27.v20200227)] org.apache.http.client.entity.DecompressingEntity@281cec71} <!DOCTYPE html><html class=""><head resURL="/static/fd113f9c" data-rooturl="" data-resurl="/static/fd113f9c"> <title>Jenkins [Jenkins]</title><link rel="stylesheet" href="/static/fd113f9c/jsbundles/base-styles-v2.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/css/color.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/css/responsive-grid.css" type="text/css"><link rel="shortcut icon" href="/static/fd113f9c/favicon.ico" type="image/vnd.microsoft.icon"><link color="black" rel="mask-icon" href="/images/mask-icon.svg"><script>var isRunAsTest=false; var rootURL=""; var resURL="/static/fd113f9c";</script><script src="/static/fd113f9c/scripts/prototype.js" type="text/javascript"></script><script src="/static/fd113f9c/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/fd113f9c/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/fd113f9c/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/fd113f9c/scripts/yui/dom/dom-min.js"></script><script src="/static/fd113f9c/scripts/yui/event/event-min.js"></script><script src="/static/fd113f9c/scripts/yui/animation/animation-min.js"></script><script src="/static/fd113f9c/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/fd113f9c/scripts/yui/container/container-min.js"></script><script src="/static/fd113f9c/scripts/yui/connection/connection-min.js"></script><script src="/static/fd113f9c/scripts/yui/datasource/datasource-min.js"></script><script src="/static/fd113f9c/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/fd113f9c/scripts/yui/menu/menu-min.js"></script><script src="/static/fd113f9c/scripts/yui/element/element-min.js"></script><script src="/static/fd113f9c/scripts/yui/button/button-min.js"></script><script src="/static/fd113f9c/scripts/yui/storage/storage-min.js"></script><script src="/static/fd113f9c/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/fd113f9c/scripts/sortable.js" type="text/javascript"></script><script>crumb.init("Jenkins-Crumb", "3714b461b4e755867cd79ad5cc8f682a5771afd39a4da032bca2180aab50531d");</script><link rel="stylesheet" href="/static/fd113f9c/scripts/yui/container/assets/container.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/scripts/yui/assets/skins/sam/skin.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/scripts/yui/container/assets/skins/sam/container.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/scripts/yui/button/assets/skins/sam/button.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/scripts/yui/menu/assets/skins/sam/menu.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/css/google-fonts/roboto/css/roboto.css" type="text/css"><link rel="stylesheet" href="/static/fd113f9c/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="/static/fd113f9c/jsbundles/vendors.js" type="text/javascript"></script><script src="/static/fd113f9c/jsbundles/page-init.js" type="text/javascript"></script></head><body data-model-type="hudson.model.Hudson" id="jenkins" class="yui-skin-sam two-column jenkins-2.222.4" data-version="2.222.4"><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/fd113f9c/images/jenkins-header-logo-v2.svg" alt="[Jenkins]" id="jenkins-head-icon"><img src="/static/fd113f9c/images/title.png" alt="Jenkins" width="139" id="jenkins-name-icon" height="34"></a></div><a href="/" class="page-headerbrand-link"><img src="/static/fd113f9c/images/jenkins-header-logo-v2.svg" alt="[Jenkins]" class="page-headerbrand-image"><span class="page-headerbrand-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-minWidth"></div><div id="search-box-sizer"></div><div id="searchform"><input role="searchbox" name="q" placeholder="search" id="search-box" class="main-searchinput has-default-text"><span class="main-searchicon-leading"><svg viewBox="0 0 24 24" aria-hidden="" focusable="false" class="svg-icon "><use href="/static/fd113f9c/images/material-icons/svg-sprite-action-symbol.svg#ic_search_24px"></use></svg></span><a href="https://jenkins.io/redirect/search-box" class="main-searchicon-trailing"><svg viewBox="0 0 24 24" aria-hidden="" focusable="false" class="svg-icon "><use href="/static/fd113f9c/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-headerhyperlinks"><div id="visible-am-insertion" class="page-headeram-wrapper"></div><a href="/login?from=%2Fjob%2FOrissa%2Fjob%2Fsales_report%2Fjob%2Fmonthly%2Fjob%2Fbacardi-pipeline-orissa-mtd%2F109%2Fwfapi%2FinputSubmit"><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/fd113f9c/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/fd113f9c/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">Jenkins</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="side-panel"><div class="task"><a href="https://jenkins.io/" class="task-icon-link"><img src="/static/fd113f9c/images/24x24/next.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-next icon-md"></a> <a href="https://jenkins.io/" title="Jenkins project" class="task-link">Jenkins project</a></div><div class="task"><a href="https://jenkins.io/redirect/report-an-issue" class="task-icon-link"><img src="/static/fd113f9c/images/24x24/gear2.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-gear2 icon-md"></a> <a href="https://jenkins.io/redirect/report-an-issue" title="Bug tracker" class="task-link">Bug tracker</a></div><div class="task"><a href="https://jenkins.io/redirect/mailing-lists" class="task-icon-link"><img src="/static/fd113f9c/images/24x24/search.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-search icon-md"></a> <a href="https://jenkins.io/redirect/mailing-lists" title="Mailing Lists" class="task-link">Mailing Lists</a></div><div class="task"><a href="https://twitter.com/jenkinsci" class="task-icon-link"><img src="/static/fd113f9c/images/24x24/user.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-user icon-md"></a> <a href="https://twitter.com/jenkinsci" title="Twitter: @jenkinsci" class="task-link">Twitter: @jenkinsci</a></div></div><div id="main-panel"><a name="skip2content"></a><h1 style="text-align: center"><img src="/static/fd113f9c/images/rage.png" width="154" height="179"><span style="font-size:50px"> Oops!</span></h1><div id="error-description"><p>A problem occurred while processing the request. Please check <a href="https://jenkins.io/redirect/issue-tracker">our bug tracker</a> to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. <a href="https://jenkins.io/redirect/users-mailing-list">The users list</a> might be also useful in understanding what has happened.<h2>Stack trace</h2><pre style="margin:2em; clear:both">javax.servlet.ServletException: Error processing Input Submit request. This Run instance does not have an Input with an ID of 'Callback-4'. The input ID may not be pre-normalized appropriately. at com.cloudbees.workflow.rest.endpoints.RunAPI.doInputSubmit(RunAPI.java:200) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) Caused: java.lang.reflect.InvocationTargetException at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:400) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at com.cloudbees.workflow.util.ServeJson$Processor.invoke(ServeJson.java:30) Caused: java.lang.RuntimeException: Unexpected exception while serving JSON at com.cloudbees.workflow.util.ServeJson$Processor.invoke(ServeJson.java:34) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) 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:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:456) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:456) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676) 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:755) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248) 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 io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at jenkins.security.ApiCrumbExclusion.process(ApiCrumbExclusion.java:48) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:127) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) 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:118) 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:142) 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.success(BasicHeaderProcessor.java:139) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:82) 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.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) 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:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215) 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:500) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) 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:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) 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.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.lang.Thread.run(Thread.java:748) </pre></div></div></div><footer><div class="container-fluid"><div class="row"><div class="col-md-6" id="footer"></div><div class="col-md-18"><span class="page_generated">Page generated: Oct 24, 2020 5:34:33 AM IST</span><span class="rest_api"><a href="api/">REST API</a></span><span class="jenkins_ver"><a href="https://jenkins.io/">Jenkins ver. 2.222.4</a></span></div></div></div></footer><script async="true" src="/static/fd113f9c/scripts/svgxuse.min.js" type="text/javascript"></script></body></html>
More investigation:
First button press produces a request to server, but HTTP/200 response body is empty. An error in console occurs: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
When trying to press button again - response is HTTP/400 with body like in the description