Advertisement
Zelatrix

pushshift_traceback

Dec 12th, 2020
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen
  3. httplib_response = self._make_request(
  4. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
  5. self._validate_conn(conn)
  6. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
  7. conn.connect()
  8. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 362, in connect
  9. self.sock = ssl_wrap_socket(
  10. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl_.py", line 384, in ssl_wrap_socket
  11. return context.wrap_socket(sock, server_hostname=server_hostname)
  12. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 500, in wrap_socket
  13. return self.sslsocket_class._create(
  14. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1040, in _create
  15. self.do_handshake()
  16. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1309, in do_handshake
  17. self._sslobj.do_handshake()
  18. ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1122)
  19.  
  20. During handling of the above exception, another exception occurred:
  21.  
  22. Traceback (most recent call last):
  23. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 439, in send
  24. resp = conn.urlopen(
  25. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
  26. retries = retries.increment(
  27. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 439, in increment
  28. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  29. 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)')))
  30.  
  31. During handling of the above exception, another exception occurred:
  32.  
  33. Traceback (most recent call last):
  34. File "D:\prog_langs\Imperative\Python\reddit_bot\pushshift_bot.py", line 142, in <module>
  35. File "D:\prog_langs\Imperative\Python\reddit_bot\pushshift_bot.py", line 136, in main
  36. File "D:\prog_langs\Imperative\Python\reddit_bot\pushshift_bot.py", line 61, in download_requests
  37. # filename = submission.id
  38. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 76, in get
  39. return request('get', url, params=params, **kwargs)
  40. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
  41. return session.request(method=method, url=url, **kwargs)
  42. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 530, in request
  43. resp = self.send(prep, **send_kwargs)
  44. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 643, in send
  45. r = adapter.send(request, **kwargs)
  46. File "C:\Users\Callum Stewart\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 514, in send
  47. raise SSLError(e, request=request)
  48. 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