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.

Is this error caused by proxy? #4417

YangKangSung ·

Hello,

I'm trying to let my PC(win10) be included into quick build farm which is composed of many quick build agents in container system.

My PC is confirmed to be the active node in QB farm.

And I make new configuration to be sure of build agent inter-operation in QB build farm.

The below is the configuration for test.

master : MY PC buildagent
pcqba_test : just display working directory in MY PC buildagent
qba0_test : just display working directory in one QB agent of QB farm.

I just expect that this test will be passed, but qba0_test must be just skipped because of no display and then master got the below error.

Could you give the advice about this error? I just doubt the proxy in QB farm.

---------- log
10:57:09,987 [master>pcqba_test@KXXXXXX:8811] INFO - Mode LastWriteTime Length Name

10:57:09,988 [master>pcqba_test@KXXXXXXXX:8811] INFO - ---- ------------- ------ ----

10:57:09,988 [master>pcqba_test@KXXXXXXXX:8811] INFO - d----- 2022-04-27 오후 8:45 test_out

10:57:09,988 [master>pcqba_test@KXXXXXXXX:8811] INFO -

10:57:09,988 [master>pcqba_test@KXXXXXXXX:8811] INFO -

10:57:10,155 [master>pcqba_test@KXXXXXXXX:8811] INFO - Executing post-execute action...

10:57:10,261 [master>qba0_test@KXXXXXXXX:8811] INFO - Checking step execute condition...

10:57:10,261 [master>qba0_test@KXXXXXXXX:8811] INFO - Step execute condition satisfied, executing...

10:57:31,479 [master@KXXXXXXXX:8811] INFO - Executing?post-execute?action...

10:57:31,479 [master@KXXXXXXXX:8811] ERROR - Step?'master'?is?failed.

java.lang.RuntimeException: Error executing step process job.

    at com.pmease.quickbuild.stepsupport.StepProcessTask.reduce(StepProcessTask.java:126)

    at com.pmease.quickbuild.stepsupport.StepProcessTask.reduce(StepProcessTask.java:19)

    at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:168)

    at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:172)

    at com.pmease.quickbuild.stepsupport.SequentialStep.triggerChildren(SequentialStep.java:46)

    at com.pmease.quickbuild.stepsupport.CompositeStep.run(CompositeStep.java:133)

    at com.pmease.quickbuild.stepsupport.Step.doExecute(Step.java:675)

    at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:575)

    at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:31)

    at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:56)

    at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:77)

    at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:131)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.RuntimeException: Error executing step execution job.

    at com.pmease.quickbuild.stepsupport.StepExecutionTask.reduce(StepExecutionTask.java:29)

    at com.pmease.quickbuild.stepsupport.StepExecutionTask.reduce(StepExecutionTask.java:19)

    at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:168)

    at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:172)

    at com.pmease.quickbuild.stepsupport.StepProcessJob.executeStepAwareJob(StepProcessJob.java:46)

    ... 8 more

Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.client.HessianRuntimeException: Error connecting 'http://192.201.233.196:8811/service/node'

    at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:285)

    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:171)

    at com.sun.proxy.$Proxy60.executeGridJob(Unknown Source)

    at com.pmease.quickbuild.grid.GridTaskFuture.execute(GridTaskFuture.java:57)

    at com.pmease.quickbuild.grid.GridTaskFuture.batchExecute(GridTaskFuture.java:46)

    at com.pmease.quickbuild.grid.GridImpl.execute(GridImpl.java:55)

    at com.pmease.quickbuild.grid.GridImpl.execute(GridImpl.java:45)

    at com.pmease.quickbuild.stepsupport.StepProcessJob.executeStepAwareJob(StepProcessJob.java:38)

    ... 8 more

Caused by: com.caucho.hessian.client.HessianRuntimeException: Error connecting 'http://192.201.233.196:8811/service/node'

    at com.caucho.hessian.client.HessianURLConnection.getOutputStream(HessianURLConnection.java:101)

    at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:283)

    ... 15 more

Caused by: java.net.ConnectException: Connection timed out: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.SocksSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at sun.net.NetworkClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.<init>(Unknown Source)

    at sun.net.www.http.HttpClient.New(Unknown Source)

    at sun.net.www.http.HttpClient.New(Unknown Source)

    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)

    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)

    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)

    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

    at com.caucho.hessian.client.HessianURLConnection.getOutputStream(HessianURLConnection.java:99)

    ... 16 more
  • replies 3
  • views 1557
  • stars 0
robinshen ADMIN ·

QB server has to establish connection to your machine. Please login to QB server and run below to see if it works:
telnet 192.201.233.196 8811

YangKangSung ·

Sorry for lack of info in my side.
Actually, 192.201.233.196 is proxy server in QB Farm (i.e. nginx proxy ip
). and I can't connect telnet service to 192.201.233.196 from server. proxy server has no telenet service.

It's not ip addr of my pc.

robinshen ADMIN ·

Looks that QB server is unable to detect your ip address correctly via proxy. You will need to tell QB server your ip address explicitly by running "bin/config.sh" on your machine, then restart the agent.