We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f277a commit 95d284fCopy full SHA for 95d284f
client-v2/src/main/java/com/clickhouse/client/api/Client.java
@@ -173,10 +173,7 @@ public Builder addEndpoint(String endpoint) {
173
endpointURL.getProtocol().equalsIgnoreCase("http"))) {
174
throw new IllegalArgumentException("Only HTTP and HTTPS protocols are supported");
175
}
176
- if (endpointURL.toURI().getScheme().equalsIgnoreCase("https")) {
177
- this.configuration.put(ClickHouseClientOption.SSL.getKey(), "true");
178
- }
179
- } catch (java.net.MalformedURLException | URISyntaxException e) {
+ } catch (java.net.MalformedURLException e) {
180
throw new IllegalArgumentException("Endpoint should be a valid URL string", e);
181
182
if (endpoint.startsWith("https://")) {
0 commit comments