StormFalcon32

Error

Jul 24th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "TwitterCollector.py", line 129, in <module>
  3. search_tweets(keywords)
  4. File "TwitterCollector.py", line 53, in search_tweets
  5. statuses = api.search(q=keyword, tweet_mode="extended", count="100", max_id=str(prev_ids[keyword] - 1))
  6. File "/home/ubuntu/.local/lib/python3.6/site-packages/tweepy/binder.py", line 250, in _call
  7. return method.execute()
  8. File "/home/ubuntu/.local/lib/python3.6/site-packages/tweepy/binder.py", line 191, in execute
  9. six.reraise(TweepError, TweepError('Failed to send request: %s' % e), sys.exc_info()[2])
  10. File "/home/ubuntu/.local/lib/python3.6/site-packages/six.py", line 692, in reraise
  11. raise value.with_traceback(tb)
  12. File "/home/ubuntu/.local/lib/python3.6/site-packages/tweepy/binder.py", line 189, in execute
  13. proxies=self.api.proxy)
  14. File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
  15. resp = self.send(prep, **send_kwargs)
  16. File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/sessions.py", line 686, in send
  17. r.content
  18. File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/models.py", line 828, in content
  19. self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  20. File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/models.py", line 753, in generate
  21. raise ChunkedEncodingError(e)
  22. tweepy.error.TweepError: Failed to send request: ('Connection broken: OSError("(104, \'ECONNRESET\')",)', OSError("(104, 'ECONNRESET')",))
Advertisement
Add Comment
Please, Sign In to add comment