Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen
- httplib_response = self._make_request(
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
- self._validate_conn(conn)
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
- conn.connect()
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 362, in connect
- self.sock = ssl_wrap_socket(
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl_.py", line 384, in ssl_wrap_socket
- return context.wrap_socket(sock, server_hostname=server_hostname)
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 500, in wrap_socket
- return self.sslsocket_class._create(
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1040, in _create
- self.do_handshake()
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1309, in do_handshake
- self._sslobj.do_handshake()
- ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1122)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 439, in send
- resp = conn.urlopen(
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
- retries = retries.increment(
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 439, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='i.redd.it', port=443): Max retries exceeded with url: /mfkudpgse3x51.jpg (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)')))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "D:\prog_langs\Imperative\Python\reddit_bot\pushshift_bot.py", line 142, in <module>
- File "D:\prog_langs\Imperative\Python\reddit_bot\pushshift_bot.py", line 136, in main
- File "D:\prog_langs\Imperative\Python\reddit_bot\pushshift_bot.py", line 61, in download_requests
- # filename = submission.id
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 76, in get
- return request('get', url, params=params, **kwargs)
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
- return session.request(method=method, url=url, **kwargs)
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 530, in request
- resp = self.send(prep, **send_kwargs)
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 643, in send
- r = adapter.send(request, **kwargs)
- File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 514, in send
- raise SSLError(e, request=request)
- requests.exceptions.SSLError: HTTPSConnectionPool(host='i.redd.it', port=443): Max retries exceeded with url: /mfkudpgse3x51.jpg (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)')))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement