question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DBeaver does not connect to secure CockroachDB cluster using SSH

See original GitHub issue

System 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:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
serge-ridercommented, Apr 28, 2020

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…

0reactions
esaadcommented, Dec 18, 2020

@vy-ton - you can find it at /Applications/DBeaver.app/Contents/Eclipse/dbeaver.ini

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found