Article ID: 123163, created on Oct 15, 2014, last review on Nov 6, 2015

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5
  • Operations Automation 5.4

Symptoms

APS task "Executing configuration script" fails with errors like:

getaddrinfo failed: Name or service not known
failed to open stream
failed to load external entity

or

failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Cause

Script execution fails because provisioning gateway server cannot connect to endpoint for communication with external system because of several possible reasons:

  • cannot resolve hostname
  • external provisioning system does not respond

Resolution

  1. Make sure you specified correct APS server endpoind hostname in APS package properties (or in Application's "Application" class resource).

  2. Determine the endpoint`s hostname, for example for Backup Agent APS

    a. Check BackupAgent endpoint`s hostname is specified in "BA internal host" parameter in APS settings.

    b. Or check task error output:

    Warning: SoapClient::SoapClient(https://backupagent.provider.net/BackupAgentServices/BAWebService.asmx?WSDL): failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    in C:\Program Files\SWsoft\PEM\APS\instances\684\scripts\baws\soapclient.php on line 55
    

    Endpoint hostname here is backupagent.provider.net.

  3. Login to the OA provisioning gateway server and check availability of the BackupAgent endpoint:

    # wget https://backupagent.provider.net/BackupAgentServices/BAWebService.asmx?WSDL
    --2014-07-18 05:56:45--  https://backupagent.provider.net/BackupAgentServices/BAWebService.asmx?WSDL
    Resolving backupagent.provider.net... 11.22.33.44
    Connecting to backupagent.provider.net|11.22.33.44|:443... failed: Connection timed out.
    Retrying.   
    
    # telnet backupagent.provider.net 443
    Trying 11.22.33.44...
    telnet: connect to address 11.22.33.44: Connection timed out
    

    With results like above DNS and Internet connectivity settings of the provisioning gateway should be checked. If they are ok, make sure that BackupAgernt server is running and reachable from the network.

Search Words

POA routing

C:\Program Files\SWsoft\PEM\APS\instances\684\scripts\baws\soapclient.php on line 55 ' errors

Error output: Failed connect to ; Timed out

O365 SSL error

OSSCore unable to perform DNS lookups

tasks

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 5b048d9bddf8048a00aba7e0bdadef37 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF