I am getting socket error while connecting to any site from python. However when I use curl to do the same with -k I am able to connect. I am new to python, how do I disable ssl verifier in python ? As to me it seems something related to ssl. It's a https request that I am making here.
>>> sock.bind(server_address)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno 11001] getaddrinfo failed