Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent 'Connection broken', 104 socket errors #8

Open
hierux opened this issue Oct 29, 2017 · 0 comments
Open

Intermittent 'Connection broken', 104 socket errors #8

hierux opened this issue Oct 29, 2017 · 0 comments

Comments

@hierux
Copy link

hierux commented Oct 29, 2017

Hi nellore,

I've been running vickitrix on an aws instance to ensure 100% uptime and have started experiencing intermittent 'Connection broken'/'Connection reset by peer' errors. Is there some new rate limiting imposed by Twitter that's breaking the twython stream? Have you run into this issue?

Traceback (most recent call last):
  File "/usr/local/bin/vickitrix", line 11, in <module>
    sys.exit(go())
  File "/usr/local/lib/python2.7/dist-packages/vickitrix/__init__.py", line 640, in go
    track=list(keywords)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/twython/streaming/types.py", line 66, in filter
    self.streamer._request(url, 'POST', params=params)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/twython/streaming/api.py", line 141, in _request
    for line in response.iter_lines(self.chunk_size):
  File "/home/ubuntu/.local/lib/python2.7/site-packages/requests/models.py", line 763, in iter_lines
    for chunk in self.iter_content(chunk_size=chunk_size, decode_unicode=decode_unicode):
  File "/home/ubuntu/.local/lib/python2.7/site-packages/requests/models.py", line 722, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: error("(104, \'ECONNRESET\')",)', error("(104, 'ECONNRESET')",))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant