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

Error: socket hang up #58

Closed
optikfluffel opened this issue Jun 19, 2012 · 3 comments
Closed

Error: socket hang up #58

optikfluffel opened this issue Jun 19, 2012 · 3 comments

Comments

@optikfluffel
Copy link

Hi girls 'n guys, I'm having some [Error: socket hang up] code: 'ECONNRESET' over here when trying to get the Favorites of about 280 Users at Heroku. Do you have a clue what's happening there? xD

Thanks :)

@fent
Copy link

fent commented Jul 5, 2012

Twitter does that when you request too often. Yeah it sucks. You can limit your requests to a few per second to lessen the errors.

@optikfluffel
Copy link
Author

oh ok.. Thanks :)

@dougalcampbell
Copy link

I've been having this issue when I loop over a list of IDs, fetching many batches of user info. I'm going to look at using kriskowal/q to make the calls synchronously. Just hoping it doesn't happen at a deeper level in ntwitter, like in the _getUsingCursor() calls.

timisbusy pushed a commit to timisbusy/ntwitter that referenced this issue May 14, 2015
update: stream example for future reference
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

3 participants