Skip to content

Connect to clickhouse http via tunnel #47428

Answered by webvictim
abalalaev asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks. Your protocol as set in /etc/teleport.yaml will need to be clickhouse-http rather than clickhouse to use the HTTP interface - please update the config file, restart Teleport and try again.

  databases:
  - name: "clickhouse-1-http"
    description: "connection via http"
    protocol: "clickhouse-http"
    uri: "clickhouse-1:8443"
    static_labels:
      env: "prod"
    tls:
      ca_cert_file: /etc/clickhouse/ca/ca-certificate.crt

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@webvictim
Comment options

Answer selected by abalalaev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants