Skip to content

[client-v2] Endpoint with base path causes <Unreadable error message> #2803

@Jasper-M

Description

@Jasper-M

We have this configuration for the Clickhouse client:

new Client.Builder()
  .addEndpoint("https://our-server:12345/somedatabase?ssl=true&sslmode=STRICT")
  .setUsername(user)
  .setPassword(password)
  .build()

This worked in 0.9.6. After upgrading to 0.9.7 we got these exceptions when trying to launch any kind of query:

com.clickhouse.client.api.ServerException: Code: 0. DB::Exception: <Unreadable error message> (transport error: 404) (queryId= )

Cleaning up the endpoint config to https://our-server:12345 fixed this issue, but it was kind of hard to track down due to the opaque error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions