question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection test: [ERROR] - dbt-databricks behind proxy

See original GitHub issue

Describe the bug

A clear and concise description of what the bug is. What command did you run? What happened? dbt debug gives error Connection test: [ERROR]

1 check failed: dbt was unable to connect to the specified database. The database returned the following error:

Runtime Error Database Error failed to connect

ENV set HTTP_PROXY HTTPS_PROXY

Does not seemed that proxy environment are being used curl to host/http_path is OK

Steps To Reproduce

In as much detail as possible, please provide steps to reproduce the issue. Sample data that triggers the issue, example model code, etc is all very helpful here.

dbt debug

Expected behavior

A clear and concise description of what you expected to happen. connection test OK

Screenshots and log output

If applicable, add screenshots or log output to help explain your problem.

System information

The output of dbt --version: Core:

  • installed: 1.1.0
  • latest: 1.1.0 - Up to date!

Plugins:

  • databricks: 1.1.0 - Up to date!
  • spark: 1.1.0 - Up to date!

The operating system you’re using: ubuntu The output of python --version: Python 3.8.10

Additional context

Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
bilalaslamseattlecommented, Jul 26, 2022

@xg1990 @thuanvan we are going to add proxy support to the Python connector first (https://github.com/databricks/databricks-sql-python/issues/22). Then we will add support to dbt-databricks.

0reactions
bilalaslamseattlecommented, Nov 11, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Connect your database - dbt Developer Hub
You can connect to your database in dbt Cloud by clicking the gear in the top right and then selecting Account Settings.
Read more >
Connect to dbt Core | Databricks on AWS
Learn how to connect your Databricks workspace to dbt Core, an open-source command line tool that enables data teams to transform data.
Read more >
Configure the Databricks ODBC and JDBC drivers
This article describes how to configure the Databricks ODBC and JDBC drivers to connect your tools or clients to Databricks.
Read more >
Error while establishing JDBC connection to Azure databricks ...
The connection needs to be routed through a HTTP proxy. ... have any suggestions, what to check and how to make the driver...
Read more >
Passing proxy configurations with databricks-sql-connector ...
File ~/project/python/venv/lib/python3.8/site-packages/databricks/sql/__init__.py:50, in connect(server_hostname, http_path, access_token, ** ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found