Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
Expand all | Collapse all

An existing connection was forcibly closed by the remote host

  • 1.  An existing connection was forcibly closed by the remote host

    Posted 01-27-2022 11:08:00 AM

    Hi everyone!

    I have a scenario, where I can't run the dxm from a specific target server. All other tests on other servers and workstations have been successful. The servers are on the same network and have the same characteristics. The error reported at runtime:

    D:\Delphix\Scripts\dxmc>dxmc application list --debug
    Can't login to engine Masking (IP: XX.XXX.X.XXX)
    EXCEPTION: Traceback (most recent call last):
    File "urllib3\connectionpool.py", line 670, in urlopen
    File "urllib3\connectionpool.py", line 426, in _make_request
    File "<string>", line 3, in raise_from
    File "urllib3\connectionpool.py", line 421, in _make_request
    File "http\client.py", line 1347, in getresponse
    File "http\client.py", line 307, in begin
    File "http\client.py", line 268, in _read_status
    File "socket.py", line 669, in readinto
    ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "dxmc.py", line 22, in <module>
    File "click\core.py", line 829, in _call_
    File "click\core.py", line 782, in main
    File "click\core.py", line 1259, in invoke
    File "click\core.py", line 1259, in invoke
    File "click\core.py", line 1066, in invoke
    File "click\core.py", line 610, in invoke
    File "click\decorators.py", line 73, in new_func
    File "click\core.py", line 610, in invoke
    File "dxm\dxm.py", line 484, in list
    File "dxm\lib\DxApplication\app_worker.py", line 87, in application_list
    File "dxm\lib\DxEngine\DxMaskingEngine.py", line 352, in get_session
    File "dxm\lib\DxEngine\DxMaskingEngine.py", line 451, in get_version
    File "masking_api_60\api\system_information_api.py", line 53, in get_system_information
    File "masking_api_60\api\system_information_api.py", line 105, in get_system_information_with_http_info
    File "masking_api_60\api_client.py", line 325, in call_api
    File "masking_api_60\api_client.py", line 157, in __call_api
    File "dxm\lib\DxEngine\DxMaskingEngine.py", line 127, in request
    File "masking_api_60\api_client.py", line 347, in request
    File "masking_api_60\rest.py", line 234, in GET
    File "masking_api_60\rest.py", line 207, in request
    File "urllib3\request.py", line 75, in request
    File "urllib3\request.py", line 97, in request_encode_url
    File "urllib3\poolmanager.py", line 336, in urlopen
    File "urllib3\connectionpool.py", line 726, in urlopen
    File "urllib3\util\retry.py", line 439, in increment
    urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='XX.XXX.X.XXX', port=80): Max retries exceeded with url: /masking/api/system-information (Caused by ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))

    [7788] Failed to execute script dxmc

    Can you help me with this error?
    Thank you very much!




    ------------------------------
    Thiago Sgarioni
    IT Consultant
    Delphix Community Members
    ------------------------------


  • 2.  RE: An existing connection was forcibly closed by the remote host

    Posted 01-27-2022 12:57:00 PM

    Hi Thiago,
    You may want to make sure your server is configured to accept unencrypted traffic on 80. You may want to try 443 in the config and see if the connection succeeds.

    If your engine is older, you may need to use an earlier DXM, also. In that case, you may need to use port 8080.

    Just a few thoughts. Let me know if that helps.

    Michael 



    ------------------------------
    Michael Torok
    Director of Knowledge and Community Management
    Delphix
    ------------------------------