level: LIFECYCLE

message: Lifecycle task_start status=STARTED message_id=13694 task_name=sync_data_transmission image=desisivio/platform-worker:develop image_digest=sha256:cc0a4ff70e00b27bc2ff5ca8042d2918630f70a657c6844bb3d913f41ab1c9ab

module: worker

event_type: LIFECYCLE


level: ERROR

message: Error calling rclone to obscure password.

exception: requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=5572): Max retries exceeded with url: /core/obscure (Caused by NewConnectionError("HTTPConnection(host='127.0.0.1', port=5572): Failed to establish a new connection: [Errno 111] Connection refused"))

traceback:
  File "/worker/shared/pipelines/pipeline_utils.py", line 450, in get_full_connection_string
    obscure_response = requests.post(
                       ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 592, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 706, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 678, in send
    raise ConnectionError(e, request=request)


message: Exception in get_full_connection_string: Exception

exception: Exception: Error calling rclone to get SFTP obscured password for connection string. HTTPConnectionPool(host='127.0.0.1', port=5572): Max retries exceeded with url: /core/obscure (Caused by NewConnectionError("HTTPConnection(host='127.0.0.1', port=5572): Failed to establish a new connection: [Errno 111] Connection refused"))

traceback:
  File "/worker/shared/logging/ps_logging.py", line 132, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/worker/shared/pipelines/pipeline_utils.py", line 457, in get_full_connection_string
    raise Exception(


message: Error getting connection string for datasource remoteSFTP: Error calling rclone to get SFTP obscured password for connection string. HTTPConnectionPool(host='127.0.0.1', port=5572): Max retries exceeded with url: /core/obscure (Caused by NewConnectionError("HTTPConnection(host='127.0.0.1', port=5572): Failed to establish a new connection: [Errno 111] Connection refused"))

traceback:
  File "/worker/shared/pipelines/pipeline_utils.py", line 382, in get_datasource_by_mnemonic
    conn_string = get_full_connection_string(datasource_model)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/worker/shared/logging/ps_logging.py", line 132, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/worker/shared/pipelines/pipeline_utils.py", line 457, in get_full_connection_string
    raise Exception(


message: Exception in get_datasource_by_mnemonic: ValueError

exception: ValueError: Error getting connection string for datasource remoteSFTP: Error calling rclone to get SFTP obscured password for connection string. HTTPConnectionPool(host='127.0.0.1', port=5572): Max retries exceeded with url: /core/obscure (Caused by NewConnectionError("HTTPConnection(host='127.0.0.1', port=5572): Failed to establish a new connection: [Errno 111] Connection refused"))

traceback:
  File "/worker/shared/logging/ps_logging.py", line 132, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/worker/shared/pipelines/pipeline_utils.py", line 387, in get_datasource_by_mnemonic
    raise ValueError(


message: Error processing id=13694: Task failed: Error getting connection string for datasource remoteSFTP: Error calling rclone to get SFTP obscured password for connection string. HTTPConnectionPool(host='127.0.0.1', port=5572): Max retries exceeded with url: /core/obscure (Caused by NewConnectionError("HTTPConnection(host='127.0.0.1', port=5572): Failed to establish a new connection: [Errno 111] Connection refused"))


message: Lifecycle task_end status=FAILED message_id=13694 task_name=sync_data_transmission

function: run