Release Automation

Expand all | Collapse all

Error "Cannot complete operation: Connection reset"

Jump to Best Answer
  • 1.  Error "Cannot complete operation: Connection reset"

    Posted 11-13-2017 05:44 AM

    Guys,

     

             While running the "Access_URL" action in the flow, We're getting this error "Cannot complete operation: Connection reset" in CA Release automation. Please help us in resolving this issue.

     

             We've tried this solution also but no luck, https://communities.ca.com/docs/DOC-231152892

     

     

     

    CARA Error

    Thanks & Regards,

    Bharghava Raghavan M



  • 2.  Re: Error "Cannot complete operation: Connection reset"

    Broadcom Employee
    Posted 11-14-2017 10:18 AM

    Hi 

     

    Did you verify the RA agent executing the actions log file to see what error was logged for this action ? 

     

    Regards 

    Dirk



  • 3.  Re: Error "Cannot complete operation: Connection reset"

    Posted 11-17-2017 03:04 AM

    Hi Dirk,

     

    Please find the error logs below,

     

    2017-11-17 18:54:25,150 [job-626686-jobServer-672791-10:URL_DocPrepBizTalkWS.asmx(P78260.F533837.E533855.E533839):Access URL] ERROR (com.nolio.platform.shared.datamodel.Action:186) - exception caught
    java.net.SocketException: Connection reset
     at java.net.SocketInputStream.read(Unknown Source)
     at java.net.SocketInputStream.read(Unknown Source)
     at sun.security.ssl.InputRecord.readFully(Unknown Source)
     at sun.security.ssl.InputRecord.read(Unknown Source)
     at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
     at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
     at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
     at sun.security.ssl.AppOutputStream.write(Unknown Source)
     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
     at java.io.BufferedOutputStream.flush(Unknown Source)
     at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
     at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
     at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
     at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
     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:346)
     at com.nolio.platform.shared.executables.actions.http.AbstractHttpClientAction.doMethod(AbstractHttpClientAction.java:377)
     at com.nolio.platform.shared.executables.actions.http.AbstractHttpClientAction.execute(AbstractHttpClientAction.java:181)
     at com.nolio.platform.shared.datamodel.ActionExecutionState.localExecution(ActionExecutionState.java:333)
     at com.nolio.platform.shared.datamodel.ActionExecutionState.access$500(ActionExecutionState.java:39)
     at com.nolio.platform.shared.datamodel.ActionExecutionState$2.execAction(ActionExecutionState.java:112)
     at com.nolio.platform.shared.datamodel.ActionExecutionState.exec(ActionExecutionState.java:343)
     at com.nolio.platform.shared.datamodel.Action.run(Action.java:227)
     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
     at java.util.concurrent.FutureTask$Sync.innerRun(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 com.nolio.platform.shared.flowcontrol.LocalFlowController$JobBoundThreadFactory$1.run(LocalFlowController.java:788)
     at java.lang.Thread.run(Unknown Source)
    2017-11-17 18:54:25,150 [job-626686-jobServer-672791-10:URL_DocPrepBizTalkWS.asmx(P78260.F533837.E533855.E533839):Access URL] INFO  (com.nolio.platform.shared.datamodel.Action:334) - ------------------------Finished action [URL_DocPrepBizTalkWS.asmx(P78260.F533837.E533855.E533839):Access URL] result [false, Cannot complete operation: Connection reset]------------------------



  • 4.  Re: Error "Cannot complete operation: Connection reset"
    Best Answer

    Posted 11-28-2017 08:09 AM

    Hi All,

     

    I've resolved the issue after exporting the URL certificate and adding into the CARA agents CACERTS file which exist in the CARA installation folder.

     

    Command:

     

    keytool.exe -importcert -file "cert.cer" -alias aliasname -keystore "E:\Program Files (x86)\CA\ReleaseAutomationAgent\jre\lib\security\cacerts" -storepass changeit -noprompt