Comments (2)
@billy1s I'm not sure what's going on here. The codepath you're seeing is:
This error message is coming straight from pycopg2
, the library dbt uses to connect to Postgres + Redshift. I did some quick searching for psycopg2 ssl error unsupported method
, but I didn't find any obvious leads. Without better visibility into the psycopg2
logs, it's hard to know what's going on here.
Until we have a better understanding of the underlying issue, or even what its error code is, I'm hesitant to consider it a transient error—that is, silently catch and retry—though that might be the ultimate resolution here (#3303).
Something we could consider doing is adding psycogp2
to the list of logger.getlogger().setLevel()
calls here, so that you can show debug-level psycopg2
logs by setting an env var:
(@kwigley @leahwicz An aside: We'll need to figure out how to lightly refactor this code post-#3361, so that the env vars + log level setting for adapter plugins does not happen inside core/dbt.logger.py
.)
I do see that you're using dbt v0.16.1, which is fairly old. I don't think we've touched this code much in the past several releases, and every version of dbt-postgres
from v0.16 to v0.20 has the same dependency requirement of psycopg2~=2.8
. Still, it never hurts to try upgrading to a newer version.
from dbt-redshift.
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.
from dbt-redshift.
Related Issues (20)
- [Feature] Datasharing: cross-database support HOT 7
- [Feature] Lazy load `agate`
- Support Batch Metadata Freshness
- [Regression] Error in freshness tests on Redshift external tables (DBT Cloud) HOT 3
- [Feature] Support IAM role and IAM user testing in CI
- [Regression] DBT 1.7.3 violates Redshift transactions. HOT 9
- [Spike] Debug Redshift CI/CD failures HOT 1
- [SPIKE] Investigate state of transactions
- [Feature] use redshift_connector for metadata wherever possible
- [Bug] status and rowcount not reported beginning with version `1.5.0` HOT 1
- [Bug] sqlparse dependency out-of-date with dbt-core HOT 1
- [Release Improvements] Refresh workflows for the `pyproject.toml` migration
- [Bug] Previewing Recursive CTE's Throws Error "Recursive CTE in subquery are not supported." HOT 2
- Import relevant pytest(s) for cross-database `cast` macro
- [Feature] DBT Unit tests to support Redshift limitations such as LISTAGG, MEDIAN, PERCENTILE_CONT, etc. HOT 2
- Cross-database `date` macro
- [Feature] Remove `dbt-postgres` dependency HOT 3
- [Feature] Add support for federated query external schemas HOT 3
- [Bug] The `--empty` argument doesn't work on models with table aliases HOT 1
- [Bug] Unit test infers the wrong data type when the first record has some NULL values HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt-redshift.