Skip to content

SSL connection to ClickHouse loses protocol prefix in edit form and incorrectly displays non-SSL port #263

@catalogoanatom

Description

@catalogoanatom

Title: SSL connection to ClickHouse loses protocol prefix in edit form and incorrectly displays non-SSL port

Description:

Steps to reproduce

  1. Add a new ClickHouse connection with SSL enabled
  2. Fill in the connection details:
    • Host: https://192.168.0.165
    • Port: 8443
    • SSL: ON
  3. Click "Test connection" — works fine
  4. Save the connection
  5. Go back to connections list
  6. Observe the displayed connection string
  7. Click "Edit" on the saved connection

Expected behavior

  • Connection should display as https://192.168.0.165:8443 in the connections list
  • Edit form should show the same host and port that were entered: https://192.168.0.165 and 8443

Actual behavior

  1. In the connections list: shows 192.168.0.165:9000 (port changed to 9000, protocol prefix lost, equals sign appears)
  2. In the edit form: host field shows 192.168.0.165 (without https:// prefix), port shows 8443 (correct)

The connection works correctly after saving despite the display issues. The problem appears to be:

  • The https:// protocol prefix is stripped from the host field when saving or editing
  • The default ClickHouse native protocol port (9000) is shown instead of the configured HTTPS port (8443)

Environment

  • Dory version: latest (v0.19.4)
  • Deployment: Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions