title: Receive error message using deploydeploymentgroup [REP_55035] An error occurred during deployment. Failed to connect to the repository agent
body: <p>We are scripting our Informatica 10.2 Deployment Group process and it fails at the deploydeploymentgroup statement with these errors.  I connect to the source repository successfully beforehand.   These commands are executed on Linux machine.  I've entered them in manually and run them via a script I've tried connecting to the target twice and tried the -t option on the connect.  Connecting to the source repository seems to be successful according to the messages.  No matter what I try I still fail on the deploydeploymentgroup statement.  Anything between { } is redacted information.</p>
  <pre><code>[REP_55035] An error occurred during deployment.  Failed to connect to the {SOURCE_REPO} repository agent. Failed to execute deploydeploymentgroup
  </code></pre>
  <p>These are the sequence of commands and their responses.  The DEPLOYOPTIONS is an XML file and we are using depcntl.dtd file Version 8.</p>
  <pre><code>pmrep&gt;
     Informatica(r) PMREP, version [10.2.0 HotFix2], build [1911.0401], LINUX 64-bit 
     Copyright (c) 1993-2019 Informatica LLC. All Rights Reserved. 
     See patents at https://www.informatica.com/legal/patents.html. 
     Invoked at Wed Feb 17 14:45:20 2021
  
  pmrep&gt;connect -r {SOURCE_REPO} -h {SOURCE_SERVER} -o {SOURCE_PORT} -n {SOURCE_INFA_DOMAIN_USER} -s {SOURCE_SECURITY_DOMAIN} -x {SOURCE_PASSWORD}
  
     Connected to repository {SOURCE_REPO} in {SOURCE_DOMAIN} as user {SOURCE_INFA_DOMAIN_USER}
     connect completed successfully.
  
  pmrep&gt;deploydeploymentgroup -p {DG_NAME} -c {DEPLOYOPTIONS} -r {TARGET_REPO} -h {TARGET_SERVER} -o {TARGET_PORT} -n {TARGET_INFA_DOMAIN_USER} -x {TARGET_PASSWORD} 
  
     An error occurred while accessing the repository [Failed to connect to the EDO_PCREP_DEV repository agent.] [REP_55035] An error occurred during deployment.  Failed to connect to the EDO_PCREP_DEV
     repository agent. Failed to execute deploydeploymentgroup.
  </code></pre>