DBeaver does not connect to secure CockroachDB cluster using SSH
See original GitHub issueSystem information:
- Operating system (distribution) and version: macOS Catalina 10.15.3
- DBeaver version: 7.0.0 (but also 5.2.5 and 6.3.4)
- Additional extensions
Connection specification:
- Database name and version: CockroachDB 20.1.0-beta.2 which uses go 1.12
- Driver name: CockroachDB JDBC driver
- Do you use tunnels or proxies (SSH, SOCKS, etc)? SSH
Describe the problem you’re observing:
When connect with SSH, get following error:
extension (5) should not be presented in certificate_request
This error is also mentioned in this question issue: https://github.com/dbeaver/dbeaver/issues/7055 This error is probably due to this Go issue: https://github.com/golang/go/issues/35722 which says:
As a workaround it is possible to disable TLS 1.3 on the JAVA client by setting -Djdk.tls.client.protocols=TLSv1.2
Issue 35722 is fixed in Go 1.14. Since CockroachDB 20.1 is not built with 1.14. DBeaver does not work with CockroachDB 20.1.0-beta2 and most likely will not work with the 20.1.0 release version coming up.
Steps to reproduce, if exist:
https://www.cockroachlabs.com/docs/stable/dbeaver.html
Include any warning/errors/backtraces from the logs
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Connect to a CockroachDB Cluster
To connect to a CockroachDB self-hosted cluster with client certificate and key authentication, you must first generate server and client certificates.
Read more >Connecting to CockroachDB Using DBeaver · GitBook
This is a quick guide for on to connect to CockroachDB deployments of CockroachClusters using DBeaver. You can download DBeaver GUI client from ......
Read more >Oracle - strongDM Docs
Overview # This guide describes how to connect to an Oracle database using StrongDM and DBeaver as the recommended SQL client.
Read more >How do I connect DBeaver to CockroachDB Serverless?
Make sure to include the cluster name in the database field. The database should be something like: cluster-name-1234.databasename .
Read more >DBeaver 21.3 Release notes
Generic drivers: problem with wrong table schema recognition was fixed; Windows installer: default install location was changed to current user ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can’t reproduce this as I don’t have such environment.
If adding
-Djdk.tls.client.protocols=TLSv1.2
works then it can be added in dbeaver.ini.I don;t know how we can fix it inside dbeaver…
@vy-ton - you can find it at
/Applications/DBeaver.app/Contents/Eclipse/dbeaver.ini