This topic summarizes the connection errors that you may encounter when using RisingWave Cloud and their corresponding solutions.
rwc-g1huxxxxxx-mycluster
. You can find the tenant identifier in the RisingWave Cloud console.
Below are 3 ways to put the tenant identifier in the connection string.
options
field%3D
is the URL encoded form of =
. If the client does not require URL encoding, you can use --tenant=<tenant identifier>
directly.
options
field. If your client does not support the options
field, you can use solution 2 or 3.<tenant identifier>.<hostname>
. This solution is only available when the client supports SNI routing and the connection is secured by TLS.
<tenant identifier>;<username>
. This solution is available for all clients.
AuthenticationCleartextPassword
response to authenticate the user. Learn more about the protocol in the PostgreSQL documentation.Driver | Language | SNI support | Note |
---|---|---|---|
psycopg2 | Python | Requires the ‘sslmode’: ‘require’ option | |
asyncpg | Python | Requires the ‘sslmode’: ‘verify-full’ option | |
SQLAlchemy | Python | Requires the ‘sslmode’: ‘require’ option |
SSL error: certificate verify failed
, root certificate file xxx does not exist
, or no certificate or crl found
, it means the client cannot verify the certificate of the server. To fix this error, you need to download the root certificate of RisingWave Cloud and put it in the correct location.