Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clickhouse TLS support is missing fir https://github.com/golang-migrate/migrate/blob/master/database/clickhouse/clickhouse.go #1043

Open
vaibhavpatil123 opened this issue Mar 5, 2024 · 0 comments

Comments

@vaibhavpatil123
Copy link

Describe the Bug
clickhouse TLS support is missing fir https://github.com/golang-migrate/migrate/blob/master/database/clickhouse/clickhouse.go
Getting error if database is enabled with TLS

Steps to Reproduce
Steps to reproduce the behavior:

  1. Setup tls on databsae
  2. I ran migrate with new version
  3. See error
[2024-03-05T09:43:31.562] [CRITICAL] [request_id=-] [tenant_id=-] [thread=main] [class=main:main.go:130] clickhouse migration failed: [handshake] unexpected packet [21] from server
error while creating migration instance
mano.netcracker.com/monitoring-metrics-engine/pkg/clickhouse.InitClickhouseMigration
	/tmp/project/pkg/clickhouse/migration.go:234
mano.netcracker.com/monitoring-metrics-engine/pkg/clickhouse.DoMigration
	/tmp/project/pkg/clickhouse/migration.go:109
main.main 

Expected Behavior
A clear and concise description of what you expected to happen.

Migrate Version
e.g. v3.4.0
Obtained by running: migrate -version

Loaded Source Drivers
e.g. s3, github, go-bindata, gcs, file
Obtained by running: migrate -help

Loaded Database Drivers
e.g. spanner, stub, clickhouse, cockroachdb, crdb-postgres, postgres, postgresql, pgx, redshift, cassandra, cockroach, mysql
Obtained by running: migrate -help

Go Version
e.g. go version go1.11 linux/amd64
Obtained by running: go version

Stacktrace
[2024-03-05T09:43:31.562] [CRITICAL] [request_id=-] [tenant_id=-] [thread=main] [class=main:main.go:130] clickhouse migration failed: [handshake] unexpected packet [21] from server
error while creating migration instance
mano.netcracker.com/monitoring-metrics-engine/pkg/clickhouse.InitClickhouseMigration
/tmp/project/pkg/clickhouse/migration.go:234
mano.netcracker.com/monitoring-metrics-engine/pkg/clickhouse.DoMigration
/tmp/project/pkg/clickhouse/migration.go:109
main.main

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant