diff --git a/pkg/db/high_level_driver.go b/pkg/db/high_level_driver.go index 0c9249a..79c76a0 100644 --- a/pkg/db/high_level_driver.go +++ b/pkg/db/high_level_driver.go @@ -87,7 +87,7 @@ func ParseChUrlIntoOptionsHighLevel(url string) clickhouse.Options { }, }} if strings.Contains(fqdn, "clickhouse.cloud") { - options.Addr = []string{fmt.Sprintf("https://%s", fqdn)} + options.DialContext = nil // remove dial context options.Protocol = clickhouse.Native options.TLS = &tls.Config{} }