mbr / tinyrpc

A compact, modular transport and protocol agnostic RPC library. Does jsonrpc v2.
https://tinyrpc.readthedocs.org
MIT License
156 stars 53 forks source link

TinyRPC and HTTPS #24

Closed rtubio closed 7 years ago

rtubio commented 8 years ago

I am currently using TinyRPC to connect to a RPC service offered through RPC4Django. I am using the HttpSessionTransport object to establish the conection, but I get the following error:

raise SSLError(e, request=request)
    requests.exceptions.SSLError: bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)

The SSL certificate is not self-signed and it works great with the navigator.

Can TinyRPC be used over an HTTPS connection with no changes?

rtubio commented 8 years ago

By the way, the version that I am using is number 0.5.

lnoor commented 7 years ago

Is this still an issue? Can you please try the latest code on github and see if the issue still occurs?

rtubio commented 7 years ago

Honestly, it's been more than a year since this and I think that a lot of things have changed... I am not using TinyRPC anymore in my project, so I couldn't even re-run the tests.

lnoor commented 7 years ago

OK, thanks for responding.