Delphix Products

 View Only
  • 1.  An error occurred when attempting to connect to remote host

    Posted 04-13-2022 12:46:00 PM

    hebert souza
    TGV Tecnologia Ltda.

  • 2.  RE: An error occurred when attempting to connect to remote host
    Best Answer

    Posted 04-13-2022 01:12:00 PM

    Hello Hebert-

    The message indicates the Delphix Engine timed out while attempting to connect via SSH to the IP address indicated, using the specified TCP port (22, by default).  

    This can be encountered as the result of a routing issue, firewall between the Delphix Engine and the host, firewall settings on the host, among other causes.  If you'd like to test further, the Environment creation can be attempted again and monitored by your network team, or you can execute manual tests as well. 

    To execute ping test, you can use the Network Latency test via CLI.  Here's an example, simulated using the IP address from your screenshot:

    delphixEngine> network test latency
    delphixEngine network test latency> create
    delphixEngine network test latency create *> set remoteAddress=
    delphixEngine network test latency create *> commit
    Dispatched job JOB-28
    NETWORK_LATENCY_TEST_EXECUTE job started for "".
    Executing network latency test.
    NETWORK_LATENCY_TEST_EXECUTE job for "" completed successfully.
    delphixEngine network test latency> ls


    Once completed, you can select the test to view results (note, the job completing successfully does not indicate actual ping success). 

    Loss is the primary concern; if packets are lost, this suggests a network routing issue or some other problem with basic TCP connectivity. In the example below, I have 0 loss, so I know I can reach the host.  Note, since this is a basic ping test, if ICMP is suppressed in the network this test may still fail, though the host can be reachable.

    delphixEngine network test latency> select
    delphixEngine network test latency ''> ls
    type: NetworkLatencyTest
    average: 241usec
    endTime: 2022-04-13T17:58:49.786Z
    loss: 0
    maximum: 314usec
    minimum: 198usec
    type: NetworkLatencyTestParameters
    requestCount: 20
    requestSize: 16B
    reference: NETWORK_LATENCY_TEST-1
    startTime: 2022-04-13T17:58:30.245Z
    state: COMPLETED
    stddev: 32usec

    Beyond this, if no loss is indicated, you can perform further ad-hoc tests of SSH connectivity via CLI as well, substituting values as appropriate for username and credentials.password:

    delphixEngine> connectivity ssh
    delphixEngine connectivity ssh *> set address=
    delphixEngine connectivity ssh *> set username=<username>
    delphixEngine connectivity ssh *> set credentials.type=PasswordCredential
    delphixEngine connectivity ssh *> set credentials.password=<password>
    delphixEngine connectivity ssh *> commit

    Once the SSH connectivity can be successfully tested, you can proceed with adding the Environment.

    If more detailed assistance is required, a Support case can be opened, though your network and admin teams will be the best initial resource to ensure requisite services and routing are available.  

    Please also review our Documentation, which includes port requirements for the Delphix Engine to reach remote Environments.

    Sean Nothdurft
    Senior Principal Technical Support Engineer

  • 3.  RE: An error occurred when attempting to connect to remote host

    Posted 04-20-2022 12:53:00 PM
    Thank you Sean Nothdurft, it was of great help!

    hebert souza
    TGV Tecnologia Ltda.