Skip to content

clickhouse connections do not respect 'http.noProxy' settings of VSCode #1010

@lemmsh

Description

@lemmsh

Bug Description

I have a proxy configured via the settings.json in a way when connections to certain hosts are not going though the proxy, like the below

{
  "http.proxy": "http://proxy.company.com:8080",
  "http.noProxy": [
    "localhost",
    "127.0.0.1",
    "*.internal.company.com",
    "myserver.local"
  ]
}

In that case clickhouse connections to the '*.internal.company.com' hosts still go through the proxy, that does not let them through. Clickhouse connections should respect the noProxy settings in that case and go directly to the host

Repro steps

  1. setup a proxy for VSCode like describe above
  2. try to connect to clickhouse sitting on one of the whitelisted hosts
  3. see that the connection is going through the proxy

Expected Behavior

Clickhouse connections should respect the http.noProxy setting and go directly to the host when it's specified there

Actual Behavior

Clickhouse connections do not respect the http.noProxy setting and go through the proxy when they should not

Environment

  • DBCode version: 1.28.13
  • VS Code (or fork) version: 1.110.0
  • OS: Linux, Windows
  • Database: Clickhouse
  • Connection: (direct/SSH/SSL) direct

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