OS Version / Instance: AWS EC2 instance type t2.medium
Memory / Disk: you can use something like 4Gb / 30 Gb
Deployment: Docker
Airbyte Version: 0.40.8
Source name/version: Postgres 0.4.6 (I made downgrade because the timestamp error)
Destination name/version: Bigquery 1.2.3
Step: The issue is happening during sync and source and connectors are created successfully.
Description: When trying to make initial sync from Postgtres to BigQuery with GCS staging, the sync fails.
2022-09-23 14:45:10 e[1;31mERRORe[m i.a.c.i.LineGobbler(voidCall):114 - SLF4J: Class path contains multiple SLF4J bindings.
2022-09-23 14:45:10 e[1;31mERRORe[m i.a.c.i.LineGobbler(voidCall):114 - SLF4J: Found binding in [jar:file:/airbyte/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2022-09-23 14:45:10 e[1;31mERRORe[m i.a.c.i.LineGobbler(voidCall):114 - SLF4J: Found binding in [jar:file:/airbyte/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2022-09-23 14:45:10 e[1;31mERRORe[m i.a.c.i.LineGobbler(voidCall):114 - SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2022-09-23 14:45:10 e[1;31mERRORe[m i.a.c.i.LineGobbler(voidCall):114 - SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Hello there! You are receiving this message because none of your fellow community members has stepped in to respond to your topic post. (If you are a community member and you are reading this response, feel free to jump in if you have the answer!) As a result, the Community Assistance Team has been made aware of this topic and will be investigating and responding as quickly as possible.
Some important considerations that will help your to get your issue solved faster:
It is best to use our topic creation template; if you haven’t yet, we recommend posting a followup with the requested information. With that information the team will be able to more quickly search for similar issues with connectors and the platform and troubleshoot more quickly your specific question or problem.
Make sure to upload the complete log file; a common investigation roadblock is that sometimes the error for the issue happens well before the problem is surfaced to the user, and so having the tail of the log is less useful than having the whole log to scan through.
Be as descriptive and specific as possible; when investigating it is extremely valuable to know what steps were taken to encounter the issue, what version of connector / platform / Java / Python / docker / k8s was used, etc. The more context supplied, the quicker the investigation can start on your topic and the faster we can drive towards an answer.
We in the Community Assistance Team are glad you’ve made yourself part of our community, and we’ll do our best to answer your questions and resolve the problems as quickly as possible. Expect to hear from a specific team member as soon as possible.
Thank you for your time and attention.
Best,
The Community Assistance Team
Hey, I am seeing this in your logs, it looks like postgres is closing the jdbc connection:
2022-09-23 14:51:42 e[44msourcee[0m > 2022-09-23 14:51:42 e[1;31mERRORe[m i.a.c.u.CompositeIterator(close):93 - exception while closing
2022-09-23 14:51:42 e[44msourcee[0m > java.lang.RuntimeException: org.postgresql.util.PSQLException: This connection has been closed.
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.db.jdbc.StreamingJdbcDatabase.lambda$query$0(StreamingJdbcDatabase.java:101) ~[io.airbyte.airbyte-db-lib-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at java.util.stream.AbstractPipeline.close(AbstractPipeline.java:323) ~[?:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.LazyAutoCloseableIterator.close(LazyAutoCloseableIterator.java:52) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.CompositeIterator.close(CompositeIterator.java:91) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.AutoCloseableIterators.lambda$appendOnClose$0(AutoCloseableIterators.java:88) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.AutoCloseableIterators.lambda$appendOnClose$0(AutoCloseableIterators.java:88) ~[io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15) [io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49) [io.airbyte-airbyte-commons-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:138) [io.airbyte.airbyte-integrations.bases-base-java-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:89) [io.airbyte.airbyte-integrations.bases-base-java-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.integrations.source.postgres.PostgresSource.main(PostgresSource.java:362) [io.airbyte.airbyte-integrations.connectors-source-postgres-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > Caused by: org.postgresql.util.PSQLException: This connection has been closed.
2022-09-23 14:51:42 e[44msourcee[0m > at org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:885) ~[postgresql-42.2.18.jar:42.2.18]
2022-09-23 14:51:42 e[44msourcee[0m > at org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:814) ~[postgresql-42.2.18.jar:42.2.18]
2022-09-23 14:51:42 e[44msourcee[0m > at org.apache.commons.dbcp2.DelegatingConnection.setAutoCommit(DelegatingConnection.java:537) ~[commons-dbcp2-2.7.0.jar:2.7.0]
2022-09-23 14:51:42 e[44msourcee[0m > at org.apache.commons.dbcp2.DelegatingConnection.setAutoCommit(DelegatingConnection.java:537) ~[commons-dbcp2-2.7.0.jar:2.7.0]
2022-09-23 14:51:42 e[44msourcee[0m > at io.airbyte.db.jdbc.StreamingJdbcDatabase.lambda$query$0(StreamingJdbcDatabase.java:98) ~[io.airbyte.airbyte-db-lib-0.35.27-alpha.jar:?]
2022-09-23 14:51:42 e[44msourcee[0m > … 18 more
Can you see if there’s more info in the postgres logs on why this connection was closed? More info may also be in pg_stat_activity select * from pg_stat_activity