edgedb-cli
edgedb-cli copied to clipboard
DSN query parameters are ignored (port and tls_security)
- EdgeDB Version: 1.0+08d3e21
- EdgeDB CLI Version: 1.1.0+8bc2c20
- OS Version: Mac OS 12.2.1 (M1)
Steps to Reproduce:
- Provide the
port
ortls_security
parameters. Stdout immediately indicates params were ignored.
port example:
$ edgedb --dsn "edgedb://localhost?port=2222"
Connecting to an EdgeDB instance at localhost:5656...
tls_security example:
$ edgedb --dsn "edgedb://localhost:2222?tls_security=insecure"
[2022-03-15T21:25:02Z WARN rustls::session] Sending fatal alert BadCertificate
edgedb error: ClientConnectionFailedError: invalid certificate: UnknownIssuer
I've been able to work around it by providing --credentials-file
instead.
edgedb/edgedb-rust#105
Hm, this one seems like a relatively high-priority to me, isn't it? @tailhook @fantix
This one is fixed too.