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

The Advisor Global Configuration page hangs in case the backend doesn't answer

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In case the backendpoint is not available, trying to open the Advisor Global Configuration Page yields:

       

      10181msec elapsed in Handling GET /cloudbees-jenkins-advisor/ from <ip> : qtp1936628443-12 AdvisorGlobalConfiguration/index.jelly10181msec elapsed in Handling GET /cloudbees-jenkins-advisor/ from <ip> : qtp1936628443-12 AdvisorGlobalConfiguration/index.jelly    java.net.PlainSocketImpl.socketConnect(Native Method)    java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)    java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)    java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)    java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)    java.net.Socket.connect(Socket.java:589)    sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)    sun.net.NetworkClient.doConnect(NetworkClient.java:175)    sun.net.www.http.HttpClient.openServer(HttpClient.java:463)    sun.net.www.http.HttpClient.openServer(HttpClient.java:558)    sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)    sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)    sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)    sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)    sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)    sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)    sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)    sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)    sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)    com.cloudbees.jenkins.plugins.advisor.client.AdvisorClient.doCheckHealth(AdvisorClient.java:50)    com.cloudbees.jenkins.plugins.advisor.AdvisorGlobalConfiguration$DescriptorImpl.validateServerConnection(AdvisorGlobalConfiguration.java:410)    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    java.lang.reflect.Method.invoke(Method.java:498)    org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)    org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)    org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)    org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)    org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)    org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)    hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)    org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)    org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)    org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)    org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)    org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)    org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)    org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)    org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)    org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)    org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)    org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)    org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)    org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)    org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)    org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)    org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)    org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)    org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)    org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)    org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:282)    org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99)    org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)    org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)    org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)    org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:456)    org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)    org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)    org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)    org.kohsuke.stapler.Stapler.service(Stapler.java:238)    javax.servlet.http.HttpServlet.service(HttpServlet.java:790)    org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)    hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)    jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)    hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)    io.jenkins.plugins.chaosmonkey.LatencyFilter.doFilter(LatencyFilter.java:62)    hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)    com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37)    hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)    jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)    hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)    jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)    hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)    hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)    hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:105)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)    hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)    hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)    hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)    hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)    hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)    org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)    hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)    org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)    org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)    org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)    org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)    org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)    org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)    org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)    org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)    org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)    org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)    org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)    org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)    org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)    org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)    org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)    org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)    org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)    org.eclipse.jetty.server.Server.handle(Server.java:505)    org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)    org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)    org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)    org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)    org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)    org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)    org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)    org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)    java.lang.Thread.run(Thread.java:748)"Handling GET /cloudbees-jenkins-advisor/ from <ip> : qtp1936628443-12 AdvisorGlobalConfiguration/index.jelly" Id=12 RUNNABLE (in native) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) at sun.net.NetworkClient.doConnect(NetworkClient.java:175)

        Attachments

          Issue Links

            Activity

            Hide
            aheritier Arnaud Héritier added a comment -

            I see what is wrong. Thanks for reporting it Pierre Beitz

            I will try to propose a fix soon

            Show
            aheritier Arnaud Héritier added a comment - I see what is wrong. Thanks for reporting it Pierre Beitz I will try to propose a fix soon

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              pierrebtz Pierre Beitz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: