Worker HTTP transport error Connect Timed Out

  • 7019187
  • 28-Jul-2015
  • 13-Sep-2018

Environment

Retain 3.x+
GroupWise Module

Situation

When trying to archive a job, the Worker shows this error:

"loginAsAnyUser: HTTP transport error: java.net.SocketTimeoutException: connect timed out"
And the Worker log shows this error:

[ERROR] com.gwava.gw.jobs.LiveGroupWise: loginAsAnyUser
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.SocketTimeoutException: connect timed out
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:131)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:145)
    at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:139)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
    at com.sun.xml.ws.client.Stub.process(Stub.java:463)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:191)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161)
    at com.sun.proxy.$Proxy82.getUserListRequest(Unknown Source)
    at com.gwava.gweasysoap.EasySoap.getUserList(EasySoap.java:1231)
    at com.gwava.gw.GWUserSelection.loginAsAnyUser(GWUserSelection.java:874)
    at com.gwava.gw.jobs.LiveGroupWise.getListOfUsers(LiveGroupWise.java:60)
    at com.gwava.gw.jobs.LiveGroupWise.getListOfUsers(LiveGroupWise.java:24)
    at com.gwava.caapi.process.RetainDredger.processNormalJob(RetainDredger.java:268)
    at com.gwava.gw.jobs.LiveGroupWise.executeWork(LiveGroupWise.java:89)
    at com.gwava.jobs.RetainArchiveJob.performDredge(RetainArchiveJob.java:561)
    at com.gwava.jobs.RetainArchiveJob.execute(RetainArchiveJob.java:229)
    at com.gwava.jobs.RetainArchiveJob.execute(RetainArchiveJob.java:442)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: java.net.SocketTimeoutException: connect timed out
    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.net.NetworkClient.doConnect(NetworkClient.java:178)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:357)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:119)
    ... 24 more

Resolution

The Worker requires the the Groupwise module information in order to establish a connection.  Once you log into Retain, go to Data Collection | Workers | (select the worker in question) | Module Specific tab.  On this page, you will need to fill in the POA Host Name, SOAP Port, and if you use SSL or not. 


Once that is updated, download the new bootstrap file.  You will need to replace the existing bootstrap file which can be done here:


Then, re-run the job and that will eliminate this error.

Cause

Invalid or unknown POA connection information

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2589.