Skip to content

Commit a788c9f

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/add-ttl-settings-CTYUL
2 parents caacba8 + b8766e7 commit a788c9f

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: fix
4+
---
5+
6+
Strip `secure` query parameter from QUERY_CLICKHOUSE_URL before passing to ClickHouse client. This was already done for the main and logs ClickHouse clients but was missing for the query client, causing a startup crash with `Error: Unknown URL parameters: secure`.

.vouch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vouch:
2+
- github: edosrecki

apps/webapp/app/services/clickhouseInstance.server.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ function initializeQueryClickhouseClient() {
8383

8484
const url = new URL(env.QUERY_CLICKHOUSE_URL);
8585

86+
// Remove secure param
87+
url.searchParams.delete("secure");
88+
8689
return new ClickHouse({
8790
url: url.toString(),
8891
name: "query-clickhouse",

0 commit comments

Comments
 (0)