You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble connecting to the free instance of coackroachdb. I have read through the issues, and it seems to be connected to certs. I have tried disabling SSL and not including any SSL options.
It seems like there are two problems. SSL certs and options params. I am not sure I can get the client to get the correct SSL cert to use to connect to cockroachdb. Also, options have to be passed to cockroachdb to enable a lot of the features, including clusters. from the return errors. I do not think the options are being passed correctly.
here is a connection url you can get from the cockroachdb website postgresql://user:[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/.postgresql/root.crt&options=--cluster%3Dkcrystal-1234
The text was updated successfully, but these errors were encountered:
The options params at least I don’t think is a general postgres protocol thing. libpq does a few to manage how it operates but it's all over the place what libpq does with them. Some change what types of SCRAM is accepted, some say where to look for certs. So I'm not sure what a options=--cluster%3Dkcrystal-1234 would actually do?
@wontruefree You should be able to connect with below connection string, you need to add the cluster name as db prefix and accept cleartext auth method.
But the problem is that it seems like the option sslmode=verify-full has no effect, it still connects without providing the sslrootcert.
I am having trouble connecting to the free instance of coackroachdb. I have read through the issues, and it seems to be connected to certs. I have tried disabling SSL and not including any SSL options.
It seems like there are two problems. SSL certs and options params. I am not sure I can get the client to get the correct SSL cert to use to connect to cockroachdb. Also, options have to be passed to cockroachdb to enable a lot of the features, including clusters. from the return errors. I do not think the options are being passed correctly.
here is a connection url you can get from the cockroachdb website
postgresql://user:[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/.postgresql/root.crt&options=--cluster%3Dkcrystal-1234
The text was updated successfully, but these errors were encountered: