-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Incompatibility with ClickHouse API #476
Comments
same here |
addr = parseForwardedHeader(fwd) here I don't see this being called at all if we set:
in proxy configuration because it will always execute line: 61-62 and then jump to: 70 |
@ibakhsh4salla I'm looking at the code you mentioned, looks like it's a function to set up the forwarded IP header. I don't believe that transfer encoding should be set there. |
clickhouse-connect 0.8.6 (ClickHouse/clickhouse-connect#421) has fixed the |
Can confirm that second part of this is resolved by clickhouse-connect 0.8.6 |
Describe the bug
There are two issues here:
The original endpoint in ClickHouse protocol doesn't require authentication, and the official client doesn't provide it.
As a result, /ping fails.
To Reproduce
On the CH machine directly (user foo doesn't exist)
On chproxy:
A workaround for now is to add default/"" user to chproxy.
by default "Transfer-Encoding: chunked" is supplied, but it's not being sent via chproxy
To Reproduce
Issue 2:
on the CH machine directly:
on chproxy:
This causes the following error on clickhouse-connect client
Environment information
Linux, chproxy 1.26.5, clickhouse_connect==0.8.1
The text was updated successfully, but these errors were encountered: