Hello ! For the past hour, we have been constantly...
# community-support
l
Hello ! For the past hour, we have been constantly receiving this error after running all the DBTs. Could the issue be with the elementary config, or something else?
Copy code
INFO - 09:26:29  Done.
INFO - warning: An executable named `edr` is not provided by package `dbt-core` but is available via the dependency `elementary-data`. Consider using `uv tool run --from elementary-data edr` instead.
INFO - /home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/pyfiglet/__init__.py:11: UserWarning: pkg_resources is deprecated as an API. See <https://setuptools.pypa.io/en/latest/pkg_resources.html>. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
INFO -   import pkg_resources
INFO -     ________                          __
INFO -    / ____/ /__  ____ ___  ___  ____  / /_____ ________  __
INFO -   / __/ / / _ \/ __ `__ \/ _ \/ __ \/ __/ __ `/ ___/ / / /
INFO -  / /___/ /  __/ / / / / /  __/ / / / /_/ /_/ / /  / /_/ /
INFO - /_____/_/\___/_/ /_/ /_/\___/_/ /_/\__/\__,_/_/   \__, /
INFO -                                                  /____/
INFO -
INFO - You are using Elementary 0.15.1, however version 0.22.0 is available.
INFO - Consider upgrading by running: "/home/airflow/.local/share/uv/tools/dbt-core/bin/python -m pip install --upgrade elementary-data"
INFO -
INFO - Any feedback and suggestions are welcomed! join our community here - <https://bit.ly/slack-elementary>
INFO -
INFO - 2026-02-24 09:26:31 — INFO — Running with edr=0.15.1
INFO - Uploading source freshness results |⚠︎                                       | (!) 0/1 [0%] in 2:04.5 (0.00/s)
INFO - Traceback (most recent call last):
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/clients/dbt/dbt_runner.py", line 88, in _run_command
INFO -     result = subprocess.run(
INFO -              ^^^^^^^^^^^^^^^
INFO -   File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
INFO -     raise CalledProcessError(retcode, process.args,
INFO - subprocess.CalledProcessError: Command '['dbt', '--log-format', 'json', 'run-operation', 'elementary.log_macro_results', '--args', '{"macro_name": "elementary_cli.upload_source_freshness", "macro_args": {"results": "[{\\"unique_id\\": \\"source.airflow_elt.alerthit_oper__hourly.disputes_history\\", \\"max_loaded_at\\": \\"2026-02-24T09:02:29.210780+00:00\\", \\"snapshotted_at\\": \\"2026-02-24T09:26:18+00:00\\", \\"max_loaded_at_time_ago_in_s\\": 1428.78922, \\"status\\": \\"pass\\", \\"criteria\\": {\\"warn_after\\": {\\"count\\": null, \\"period\\": null}, \\"error_after\\": {\\"count\\": 1, \\"period\\": \\"day\\"}, \\"filter\\": null}, \\"adapter_response\\": {\\"_message\\": \\"SUCCESS\\", \\"rows_affected\\": -1}, \\"timing\\": [{\\"name\\": \\"compile\\", \\"started_at\\": \\"2026-02-24T09:26:18.758877Z\\", \\"completed_at\\": \\"2026-02-24T09:26:18.758880Z\\"}, {\\"name\\": \\"execute\\", \\"started_at\\": \\"2026-02-24T09:26:18.763303Z\\", \\"completed_at\\": \\"2026-02-24T09:26:23.227402Z\\"}], \\"thread_id\\": \\"Thread-3 (worker)\\", \\"execution_time\\": 4.474605083465576, \\"metadata\\": {\\"dbt_schema_version\\": \\"<https://schemas.getdbt.com/dbt/sources/v3.json>\\", \\"dbt_version\\": \\"1.7.3\\", \\"generated_at\\": \\"2026-02-24T09:26:29.180419Z\\", \\"invocation_id\\": \\"e8a8bb99-f70f-4db0-9e34-4c6c9e07e6ee\\", \\"env\\": {}}}, {\\"unique_id\\": \\"source.airflow_elt.alerthit_oper__hourly.disputes\\", \\"max_loaded_at\\": \\"2026-02-24T09:02:34.043220+00:00\\", \\"snapshotted_at\\": \\"2026-02-24T09:26:18+00:00\\", \\"max_loaded_at_time_ago_in_s\\": 1423.95678, \\"status\\": \\"pass\\", \\"criteria\\": {\\"warn_after\\": {\\"count\\": null, \\"period\\": null}, \\"error_after\\": {\\"count\\": 1, \\"period\\": \\"day\\"}, \\"filter\\": null}, \\"adapter_response\\": {\\"_message\\": \\"SUCCESS\\", \\"rows_affected\\": -1}, \\"timing\\": [{\\"name\\": \\"compile\\", \\"started_at\\": \\"2026-02-24T09:26:18.758272Z\\", \\"completed_at\\": \\"2026-02-24T09:26:18.758276Z\\"}, {\\"name\\": \\"execute\\", \\"started_at\\": \\"2026-02-24T09:26:18.762337Z\\", \\"completed_at\\": \\"2026-02-24T09:26:23.228684Z\\"}], \\"thread_id\\": \\"Thread-2 (worker)\\", \\"execution_time\\": 4.476850271224976, \\"metadata\\": {\\"dbt_schema_version\\": \\"<https://schemas.getdbt.com/dbt/sources/v3.json>\\", \\"dbt_version\\": \\"1.7.3\\", \\"generated_at\\": \\"2026-02-24T09:26:29.180419Z\\", \\"invocation_id\\": \\"e8a8bb99-f70f-4db0-9e34-4c6c9e07e6ee\\", \\"env\\": {}}}, {\\"unique_id\\": \\"source.airflow_elt.alerthit_oper__hourly.representments\\", \\"max_loaded_at\\": \\"2026-02-24T09:01:37.041112+00:00\\", \\"snapshotted_at\\": \\"2026-02-24T09:26:23+00:00\\", \\"max_loaded_at_time_ago_in_s\\": 1485.958888, \\"status\\": \\"pass\\", \\"criteria\\": {\\"warn_after\\": {\\"count\\": null, \\"period\\": null}, \\"error_after\\": {\\"count\\": 1, \\"period\\": \\"day\\"}, \\"filter\\": null}, \\"adapter_response\\": {\\"_message\\": \\"SUCCESS\\", \\"rows_affected\\": -1}, \\"timing\\": [{\\"name\\": \\"compile\\", \\"started_at\\": \\"2026-02-24T09:26:23.237698Z\\", \\"completed_at\\": \\"2026-02-24T09:26:23.237703Z\\"}, {\\"name\\": \\"execute\\", \\"started_at\\": \\"2026-02-24T09:26:23.239062Z\\", \\"completed_at\\": \\"2026-02-24T09:26:25.624360Z\\"}], \\"thread_id\\": \\"Thread-3 (worker)\\", \\"execution_time\\": 2.3893251419067383, \\"metadata\\": {\\"dbt_schema_version\\": \\"<https://schemas.getdbt.com/dbt/sources/v3.json>\\", \\"dbt_version\\": \\"1.7.3\\", \\"generated_at\\": \\"2026-02-24T09:26:29.180419Z\\", \\"invocation_id\\": \\"e8a8bb99-f70f-4db0-9e34-4c6c9e07e6ee\\", \\"env\\": {}}}, {\\"unique_id\\": \\"source.airflow_elt.alerthit_oper__hourly.alert_interactions\\", \\"max_loaded_at\\": \\"2026-02-24T09:02:37.733793+00:00\\", \\"snapshotted_at\\": \\"2026-02-24T09:26:18+00:00\\", \\"max_loaded_at_time_ago_in_s\\": 1420.266207, \\"status\\": \\"pass\\", \\"criteria\\": {\\"warn_after\\": {\\"count\\": null, \\"period\\": null}, \\"error_after\\": {\\"count\\": 2, \\"period\\": \\"hour\\"}, \\"filter\\": null}, \\"adapter_response\\": {\\"_message\\": \\"SUCCESS\\", \\"rows_affected\\": -1}, \\"timing\\": [{\\"name\\": \\"compile\\", \\"started_at\\": \\"2026-02-24T09:26:18.757626Z\\", \\"completed_at\\": \\"2026-02-24T09:26:18.757631Z\\"}, {\\"name\\": \\"execute\\", \\"started_at\\": \\"2026-02-24T09:26:18.761193Z\\", \\"completed_at\\": \\"2026-02-24T09:26:29.175277Z\\"}], \\"thread_id\\": \\"Thread-1 (worker)\\", \\"execution_time\\": 10.422839641571045, \\"metadata\\": {\\"dbt_schema_version\\": \\"<https://schemas.getdbt.com/dbt/sources/v3.json>\\", \\"dbt_version\\": \\"1.7.3\\", \\"generated_at\\": \\"2026-02-24T09:26:29.180419Z\\", \\"invocation_id\\": \\"e8a8bb99-f70f-4db0-9e34-4c6c9e07e6ee\\", \\"env\\": {}}}]"}}', '--project-dir', '/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/monitor/dbt_project', '--profiles-dir', '/opt/airflow/dags/airflow-elt/airflow_elt/profiles_dir/elementary']' returned non-zero exit status 1.
INFO -
INFO - During handling of the above exception, another exception occurred:
INFO -
INFO - Traceback (most recent call last):
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/bin/edr", line 10, in <module>
INFO -     sys.exit(cli())
INFO -              ^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
INFO -     return self.main(*args, **kwargs)
INFO -            ^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/core.py", line 1055, in main
INFO -     rv = self.invoke(ctx)
INFO -          ^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/cli/cli.py", line 67, in invoke
INFO -     return super().invoke(ctx)
INFO -            ^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
INFO -     return _process_result(sub_ctx.command.invoke(sub_ctx))
INFO -                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
INFO -     return _process_result(sub_ctx.command.invoke(sub_ctx))
INFO -                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
INFO -     return ctx.invoke(self.callback, **ctx.params)
INFO -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/core.py", line 760, in invoke
INFO -     return __callback(*args, **kwargs)
INFO -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/click/decorators.py", line 26, in new_func
INFO -     return f(get_current_context(), *args, **kwargs)
INFO -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/operations/cli.py", line 63, in upload_source_freshness
INFO -     UploadSourceFreshnessOperation(config).run(rows_per_insert)
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/operations/upload_source_freshness.py", line 26, in run
INFO -     self.upload_results(results, metadata, rows_per_insert)
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/operations/upload_source_freshness.py", line 71, in upload_results
INFO -     dbt_runner.run_operation(
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/clients/dbt/dbt_runner.py", line 160, in run_operation
INFO -     success, command_output = self._run_command(
INFO -                               ^^^^^^^^^^^^^^^^^^
INFO -   File "/home/airflow/.local/share/uv/tools/dbt-core/lib/python3.11/site-packages/elementary/clients/dbt/dbt_runner.py", line 99, in _run_command
INFO -     raise DbtCommandError(err, command_args, logs=logs)
INFO - elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.
INFO - Encountered an error while running operation: Runtime Error
INFO -   The read operation timed out