Open yudelevi opened 1 month ago
same here
addr = parseForwardedHeader(fwd)
here I don't see this being called at all if we set:
proxy:
enable: true
header: Transfer-Encoding
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 (https://github.com/ClickHouse/clickhouse-connect/pull/421) has fixed the urllib3.exceptions.ResponseNotChunked
exception (https://github.com/ClickHouse/clickhouse-connect/issues/417).
Can confirm that second part of this is resolved by clickhouse-connect 0.8.6
Describe the bug There are two issues here:
Introduced in #456, the /ping endpoint depends on authentication. 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.
Headers are missing when using the query 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