mark_gordon
05/02/2023, 2:45 AMmeltano run
command is failing after seemingly successfully performing the requested extraction and DBT step. The error below is shown without any context. We are using a postgres cluster for both the meltano state and extracted/dbt tables.
... normal output above ...
2023-05-01T23:56:10.389373Z [info ] 23:56:10 Finished running 21 view models, 1 table model, 4 incremental models in 0 hours 8 minutes and 22.61 seconds (502.61s). cmd_type=command name=dbt-postgres stdio=stderr
2023-05-01T23:56:10.424722Z [info ] 23:56:10 cmd_type=command name=dbt-postgres stdio=stderr
2023-05-01T23:56:10.426245Z [info ] 23:56:10 Completed successfully cmd_type=command name=dbt-postgres stdio=stderr
2023-05-01T23:56:10.427779Z [info ] 23:56:10 cmd_type=command name=dbt-postgres stdio=stderr
2023-05-01T23:56:10.429591Z [info ] 23:56:10 Done. PASS=26 WARN=0 ERROR=0 SKIP=0 TOTAL=26 cmd_type=command name=dbt-postgres stdio=stderr
2023-05-01T23:56:10.644030Z [info ] cmd_type=command name=dbt-postgres stdio=stderr
2023-05-01T23:56:10.644438Z [info ] cmd_type=command name=dbt-postgres stdio=stderr
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
(psycopg2.OperationalError) SSL connection has been closed unexpectedly
(Background on this error at: <https://sqlalche.me/e/14/e3q8>)
It looks like our postgres connection was dropped for whatever reason. I don’t see our postgres cluster as having any relevant timeouts that I think could be causing this, however (I only see a transaction idle timeout of 60s). Any ideas on how to debug what’s going on here?aaron_phethean
05/02/2023, 8:31 AMmark_gordon
05/02/2023, 8:05 PMaaron_phethean
05/02/2023, 8:12 PMmark_gordon
05/02/2023, 8:14 PMaaron_phethean
05/02/2023, 8:14 PMmark_gordon
05/02/2023, 8:19 PMaaron_phethean
05/02/2023, 8:23 PM