-
Couldn't load subscription status.
- Fork 613
Closed
Labels
bugmodule-httpHTTP/HTTPS clientHTTP/HTTPS clientusabilitywhat affects usability of the clientwhat affects usability of the client
Milestone
Description
Describe the bug
password contains =?use clickhouse-jdbc connection failed.
Steps to reproduce
- clickhouse server version 21.8.8.1
- password AF.O4P=?m76.lHfa
-
<dependency> <groupId>ru.yandex.clickhouse</groupId> <artifactId>clickhouse-jdbc</artifactId> <version>0.3.2</version> </dependency> - error message:
Code: 516, e.displayText() = DB::Exception: apmhouse: Auth*****##he username or password##*****ion 21.8.8.1)[N], server ClickHouseNode(addr=http:ip:port, db=system)@-609109239
Expected behaviour
connection success
Code example
Properties properties = new Properties();
properties.setProperty("ssl", "true");
properties.setProperty("sslmode", "NONE");
properties.setProperty("user", "apmhouse");
properties.setProperty("password", "AF.O4P=?m76.lHfa");
Connection connection = DriverManager.getConnection(url, properties);Error log
client:
Code: 516, e.displayText() = DB::Exception: apmhouse: Auth*****##he username or password##*****ion 21.8.8.1)[N], server ClickHouseNode(addr=http:ip:port, db=system)@-609109239
server:
2023.04.03 15:46:54.681974 [ 456 ] {} DynamicQueryHandler: Request URI: /?extremes=0
2023.04.03 15:46:54.686019 [ 456 ] {} Access(user directories): apmhouse: Authentication failed: Code: 193, e.displayText() = DB::Exception: Invalid credentials, Stack trace (when copying this message, always include the lines below):
- ? @ 0x10273542 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0x519804f in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0x4aad274 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0x4aaf101 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xc6f5d6a in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xc71bb53 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xc6f5d6a in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xca80ca7 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xdc23d83 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xdc24e01 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xdc2ade9 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xdc46a56 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xe1e5bd9 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0xe1e64ee in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0x102ede2e in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0x102ea8f7 in /opt/apm-clickhouse/programs/clickhouse
- ? @ 0x8f3b in /usr/lib64/libpthread-2.28.so
- clone @ 0xf8570 in /usr/lib64/libc-2.28.so
(version 21.8.8.1)
Configuration
Environment
- Client version: 0.3.2
- Language version:
- OS:
ClickHouse server
- ClickHouse Server version: 21.8.8.1
- ClickHouse Server non-default settings, if any:
CREATE TABLEstatements for tables involved:- Sample data for all these tables, use clickhouse-obfuscator if necessary
Metadata
Metadata
Assignees
Labels
bugmodule-httpHTTP/HTTPS clientHTTP/HTTPS clientusabilitywhat affects usability of the clientwhat affects usability of the client