cube-js / cube-js/cube

Unable to connect with ClickHouse

Open
#7,525 1 comment 0 reactions 0 assignees View on GitHub
driver:clickhouse question
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

I have both ClickHouse and Cube within the same cluster. While I can successfully establish a telnet connection to the ClickHouse host from the Cube container, I am still unable to connect to ClickHouse. Getting below error msg:
![image](https://github.com/cube-js/cube/assets/100891954/e8a7a89b-fdfa-409b-91ef-1148cfd77223)
**Cube logs:**
[cube.txt](https://github.com/cube-js/cube/files/13657768/cube.txt)
**Below are the configuration added in cube helm in values.yaml**
datasources:
default:
type: clickhouse
host: "host.test.local"
port: "443"
name: "default"
user: "default"
pass: "PWD@123"
clickhouse:
readonly: true

**On Browser console getting 500 Internal Server error**
https://host.test.local/playground/db-schema 500 (Internal Server Error)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.