Re: ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-18 Thread Piyush Verma
Hi Chris, Yes it is HTTPS server. I was debugging and found some relevant data which may help to identify the problem. In my Mac OS, I have two version of openssl version installed. default was /usr/bin/openssl, which i changed to brew installed one. (virtenv) $ /usr/bin/openssl version OpenSSL 0.

Re: ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-17 Thread Chris Angelico
On Mon, Dec 18, 2017 at 6:28 AM, Piyush Verma <114piy...@gmail.com> wrote: > Yes Dieter, I see that it is connecting with 443 port number and service is > running. Is this related to python version or mac? Can you confirm that it really is an HTTPS server, not just an HTTP server that's running on

Re: ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-17 Thread dieter
Piyush Verma <114piy...@gmail.com> writes: > Yes Dieter, I see that it is connecting with 443 port number and service is > running. Is this related to python version or mac? It might be. Python does not perform the SSL handling itself but delegates it to an external SSL library ("OpenSSL" on a *

Re: ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-17 Thread Piyush Verma
uot;/System/Library/Frameworks/Python.framework/Versions/2.7/ > lib/python2.7/ssl.py", > > line 808, in do_handshake > > self._sslobj.do_handshake() > > ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590) > > Are you sure, you try to connect to an H

Re: ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-16 Thread dieter
k/Versions/2.7/lib/python2.7/ssl.py", > line 808, in do_handshake > self._sslobj.do_handshake() > ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590) Are you sure, you try to connect to an HTTPS port? The error message tells you that the "ssl" handshake

ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-15 Thread Piyush Verma
.py", line 352, in wrap_socket _context=self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__ self.do_handshake() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line