Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Connection timeout hessian proxy #2725

jossy ·
Hi,

it seems that a qb agent was not able to connect to the server. I do not know if this was a network issue or something in Quickbuild or so. How can this happen. Do we need to worry about something special, or was it "just" a network issue?

    java.lang.RuntimeException: Error executing grid job
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:68)
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:85)
at com.pmease.quickbuild.stepsupport.SequentialStep.triggerChildren(SequentialStep.java:36)
at com.pmease.quickbuild.stepsupport.CompositeStep.run(CompositeStep.java:97)
at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:491)
at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:29)
at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:47)
at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:61)
at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:78)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: Error executing grid job
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:68)
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:85)
at com.pmease.quickbuild.stepsupport.StepProcessJob.executeStepAwareJob(StepProcessJob.java:36)
... 9 more
Caused by: com.caucho.hessian.client.HessianRuntimeException: Error connecting 'http://quickbuild:8810/service/server'
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:260)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:165)
at $Proxy17.stepUpdated(Unknown Source)
at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:43)
... 9 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
at sun.net.www.http.HttpClient.New(HttpClient.java:290)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
at com.caucho.hessian.client.HessianURLConnection.getOutputStream(HessianURLConnection.java:94)
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:258)
... 12 more
  • replies 3
  • views 2944
  • stars 0
robinshen ADMIN ·
This may also happen if server is under heavy load. Please upgrade to latest QB version and install the latest QB agent package (by downloading from grid page) and it contains logic of retrying upon timeout.
hung ·

Hello Mr.RobinShen,
Could you please specify which part of latest QB version contain logic of retrying upon timeout?

robinshen ADMIN ·

In advanced setting of a step, there is a retry option.