[client-v2] Error "Can't decompress data: header is corrupt" when using client compression #1993
Closed
Description
Describe the bug
When client compression is enabled and HTTPs is used, server returns error "Code: 271. DB::Exception: Can't decompress data: header is corrupt with decompressed block size 0: While executing ParallelParsingBlockInputFormat. (CANNOT_DECOMPRESS)"
Note: as input ClickHouseInputStream is used:
ClickHouseInputStream in = new ByteArrayQueueInputStream(...)
Configuration
Environment
- Client version: client-v2 0.7.1-patch
- Language version:
- OS:
ClickHouse server
- ClickHouse Server version: 24.8.1.10421
- ClickHouse Server non-default settings, if any:
CREATE TABLE
statements for tables involved:- Sample data for all these tables, use clickhouse-obfuscator if necessary