-
- import httplib
- conn=httplib.HTTPSConnection('82.95.100.236','4443')
- req=conn.request('GET','/axis2/services/DataServiceService?wsdl')
- conn.getresponse().read()
-
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/usr/lib/python2.6/httplib.py", line 910, in request
- self._send_request(method, url, body, headers)
- File "/usr/lib/python2.6/httplib.py", line 947, in _send_request
- self.endheaders()
- File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
- self._send_output()
- File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
- self.send(msg)
- File "/usr/lib/python2.6/httplib.py", line 735, in send
- self.connect()
- File "/usr/lib/python2.6/httplib.py", line 1112, in connect
- self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
- File "/usr/lib/python2.6/ssl.py", line 350, in wrap_socket
- suppress_ragged_eofs=suppress_ragged_eofs)
- File "/usr/lib/python2.6/ssl.py", line 118, in __init__
- self.do_handshake()
- File "/usr/lib/python2.6/ssl.py", line 293, in do_handshake
- self._sslobj.do_handshake()
- ssl.SSLError: [Errno 8] _ssl.c:480: EOF occurred in violation of protocol
-
-
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/usr/lib/python2.6/httplib.py", line 910, in request
- self._send_request(method, url, body, headers)
- File "/usr/lib/python2.6/httplib.py", line 947, in _send_request
- self.endheaders()
- File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
- self._send_output()
- File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
- self.send(msg)
- File "/usr/lib/python2.6/httplib.py", line 735, in send
- self.connect()
- File "/usr/lib/python2.6/httplib.py", line 1112, in connect
- self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
- File "/usr/lib/python2.6/ssl.py", line 350, in wrap_socket
- suppress_ragged_eofs=suppress_ragged_eofs)
- File "/usr/lib/python2.6/ssl.py", line 118, in __init__
- self.do_handshake()
- File "/usr/lib/python2.6/ssl.py", line 293, in do_handshake
- self._sslobj.do_handshake()
- socket.error: [Errno 104] Connection reset by peer
-