So I was trying out the new TLS support starting RethinkDB with a command like so:
rethinkdb --http-tls-key key.pem --http-tls-cert cert.pem --driver-tls-key key.pem --driver-tls-cert cert.pem
and the web ui goes to https successfully, but it looks like I need to change something for the Python driver:
In [1]: import rethinkdb as r
In [2]: r.connect("localhost", 28015).repl()
---------------------------------------------------------------------------
ReqlDriverError Traceback (most recent call last)
<ipython-input-2-655078830678> in <module>()
----> 1 r.connect("localhost", 28015).repl()
.../site-packages/rethinkdb/net.pyc in __init__(self, parent, timeout)
313 .replace('receiving from', 'during handshake with')\
314 .replace('sending to', 'during handshake with')
--> 315 raise ReqlDriverError(error)
316 except socket.timeout as ex:
317 self.close()
ReqlDriverError: Connection is closed.
rethinkdb --http-tls-key key.pem --http-tls-cert cert.pem --driver-tls-key key.pem --driver-tls-cert cert.pem
and the web ui goes to https successfully, but it looks like I need to change something for the Python driver:
In [1]: import rethinkdb as r
In [2]: r.connect("localhost", 28015).repl() --------------------------------------------------------------------------- ReqlDriverError Traceback (most recent call last) <ipython-input-2-655078830678> in <module>() ----> 1 r.connect("localhost", 28015).repl()
.../site-packages/rethinkdb/net.pyc in __init__(self, parent, timeout) 313 .replace('receiving from', 'during handshake with')\ 314 .replace('sending to', 'during handshake with') --> 315 raise ReqlDriverError(error) 316 except socket.timeout as ex: 317 self.close()
ReqlDriverError: Connection is closed.