Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> requests.get('https://panel.cloudtechmc.com:50014')
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
- cnx.do_handshake()
- File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
- self._raise_ssl_error(self._ssl, result)
- File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
- _raise_current_error()
- File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
- raise exception_type(errors)
- OpenSSL.SSL.Error: [('SSL routines', 'ssl3_get_record', 'wrong version number')]
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
- httplib_response = self._make_request(
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 376, in _make_request
- self._validate_conn(conn)
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 996, in _validate_conn
- conn.connect()
- File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 366, in connect
- self.sock = ssl_wrap_socket(
- File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
- return context.wrap_socket(sock, server_hostname=server_hostname)
- File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
- raise ssl.SSLError("bad handshake: %r" % e)
- ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')])",)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
- resp = conn.urlopen(
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
- retries = retries.increment(
- File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='panel.cloudtechmc.com', port=50014): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')])")))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
- return request('get', url, params=params, **kwargs)
- File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
- return session.request(method=method, url=url, **kwargs)
- File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
- resp = self.send(prep, **send_kwargs)
- File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
- r = adapter.send(request, **kwargs)
- File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
- raise SSLError(e, request=request)
- requests.exceptions.SSLError: HTTPSConnectionPool(host='panel.cloudtechmc.com', port=50014): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')])")))
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement