Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

ERROR: Connection timed out while ActiveVOS fires a request to P360 Server
Problem Description
​In PIM v8.1.1.02 P360 triggered an ActiveVOS workflow on Import/Update to an Article. 
But within workflow when ActiveVOS fired a rest API to PIM (to fetch few details) following error is thrown at ActiveVOS side and the workflow never moves further:

org.activebpel.rt.AeException: java.net.ConnectException: Connection timed out (Connection timed out)
 at org.activebpel.rt.http.AeHttpSendHandlerBase.deliver(AeHttpSendHandlerBase.java:144)
 at org.activebpel.rt.http.handler.AeHttpPostHandler.prepareAndDeliver(AeHttpPostHandler.java:60)
 at org.activebpel.rt.http.handler.AeHttpPostHandler.handle(AeHttpPostHandler.java:44)
 at org.activebpel.rt.http.AeHttpServiceManager.send(AeHttpServiceManager.java:65)
 at com.activee.rt.rest.invoke.AeRestInvokeHandler.handleInvoke(AeRestInvokeHandler.java:78)
 at org.activebpel.rt.bpel.server.engine.invoke.AeInvoker.handleInvoke(AeInvoker.java:207)
 at org.activebpel.rt.bpel.server.engine.AeInMemoryQueueManager$1.run(AeInMemoryQueueManager.java:170)
 at org.activebpel.work.AeDelegatingWork.run(AeDelegatingWork.java:62)
 at org.activebpel.work.AeProcessWorkManager$AeProcessWork.run(AeProcessWorkManager.java:254)
 at org.activebpel.work.AeDelegatingWork.run(AeDelegatingWork.java:62)
 at org.activebpel.work.AeExceptionReportingWork.run(AeExceptionReportingWork.java:58)
 at org.activebpel.work.AeWorkerThread.run(AeWorkerThread.java:156)
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
 at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
 at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
 at org.activebpel.rt.http.ssl.AeTLSv1_2ProtocolSocketFactory.createSocket(AeTLSv1_2ProtocolSocketFactory.java:58)
 at org.activebpel.rt.http.ssl.AeTLSv1_2ProtocolSocketFactory.createSocket(AeTLSv1_2ProtocolSocketFactory.java:73)
 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
 at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
 at org.activebpel.rt.http.AeHttpSendHandlerBase.deliver(AeHttpSendHandlerBase.java:110)
 ... 11 more​
Cause
​As per the error stack trace it clearly says that ActiveVOS tried to open a socket connection to P360 and got timed out. This means P360 Server was unreachable from the ActiveVOS server.
Solution
​As the issue with socket connection not made from ActiveVOS to P360 Server, verify if,
  • P360 rest HTTP(s) URL mentioned in the AVOS workflow code is correct. 
  • Verify if ping and telnet work from AVOS to P360 server machines. 
  • Verify if the IP of the P360 server machine is whitelisted such that the ActiveVOS server machine can make a connection to P360 servers.
    One of the scenarios found that the problem is with whitelisting at the Network layer, fixing that has resolved the issue.

More Information
​org.activebpel.rt.AeException: java.net.ConnectException: Connection timed out (Connection timed out)
 at org.activebpel.rt.http.AeHttpSendHandlerBase.deliver(AeHttpSendHandlerBase.java:144)
 at org.activebpel.rt.http.handler.AeHttpPostHandler.prepareAndDeliver(AeHttpPostHandler.java:60)
 at org.activebpel.rt.http.handler.AeHttpPostHandler.handle(AeHttpPostHandler.java:44)
 at org.activebpel.rt.http.AeHttpServiceManager.send(AeHttpServiceManager.java:65)
 at com.activee.rt.rest.invoke.AeRestInvokeHandler.handleInvoke(AeRestInvokeHandler.java:78)
 at org.activebpel.rt.bpel.server.engine.invoke.AeInvoker.handleInvoke(AeInvoker.java:207)
 at org.activebpel.rt.bpel.server.engine.AeInMemoryQueueManager$1.run(AeInMemoryQueueManager.java:170)
 at org.activebpel.work.AeDelegatingWork.run(AeDelegatingWork.java:62)
 at org.activebpel.work.AeProcessWorkManager$AeProcessWork.run(AeProcessWorkManager.java:254)
 at org.activebpel.work.AeDelegatingWork.run(AeDelegatingWork.java:62)
 at org.activebpel.work.AeExceptionReportingWork.run(AeExceptionReportingWork.java:58)
 at org.activebpel.work.AeWorkerThread.run(AeWorkerThread.java:156)
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
 at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
 at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
 at org.activebpel.rt.http.ssl.AeTLSv1_2ProtocolSocketFactory.createSocket(AeTLSv1_2ProtocolSocketFactory.java:58)
 at org.activebpel.rt.http.ssl.AeTLSv1_2ProtocolSocketFactory.createSocket(AeTLSv1_2ProtocolSocketFactory.java:73)
 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
 at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
 at org.activebpel.rt.http.AeHttpSendHandlerBase.deliver(AeHttpSendHandlerBase.java:110)
 ... 11 more​
Applies To
Product: Active VOS; Product 360 (Media Manager)
Problem Type: Configuration; Connectivity
User Type: Data Analyst; Administrator; Data Steward; Developer
Project Phase: Configure; Onboard; Implement
Product Version:
Database:
Operating System:
Other Software:

Reference
Attachments
Last Modified Date:3/31/2020 10:22 AMID:613050
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)