Skip to content

Connect to cluster behind proxy #1846

@Steuv1871

Description

@Steuv1871

Hi,

I'm having an issue at my company accessing Databricks clusters with the Databricks CLI extension for VS Code when I'm behind a proxy.

The proxy is set in the VS Code configuration (http.proxy variable, with http.proxySupport set to on).

The extension connects correctly to the target host, shows the cluster status, authentication with databricks-cli works fine, and the Python environment is OK.

However, when I run code I get the following error:

ConnectionRefusedError: [WinError 10061]

The extension works if I set the environment variable at the OS level (HTTPS_PROXY), but I can't keep that variable enabled because it interferes with other company software.

Is there another place where I need to set the proxy?

Specs:

  • Windows 11
  • Databricks extension for VS Code 2.10.5
  • Databricks Connect 17.3
  • Databricks CLI v0.289.1

Thanks for any help with this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions