Error: socket hang up #58

optikfluffel opened this Issue Jun 19, 2012 · 3 comments


None yet
3 participants

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 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.

oh ok.. Thanks :)

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 timisbusy pushed a commit to timisbusy/ntwitter that referenced this issue May 14, 2015

@desmondmorris desmondmorris Merge pull request #58 from KLVTZ/master
update: stream example for future reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment