[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-11-09 Thread hima latha
This is the error that I am getting. I have wrapped the code with the retry logic but of not much help. It shows a HTTP 502 Bad gateway error and also somewhere in between says Twitter is over capacity. Too many tweets! Please wait a moment and try again. I have been getting this error

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-30 Thread hima latha
I am able to ping and traceroute to twitter.com so I am guessing the error is not because of the IP. Can you suggest any solutions to my problem? On Thu, Oct 29, 2009 at 8:49 PM, Chad Etzel wrote: > > If you are getting a response from the servers (even error codes) then > you are not blocked. A

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-29 Thread Chad Etzel
If you are getting a response from the servers (even error codes) then you are not blocked. A blacklisted IP looks like it goes into a blackhole and no data is returned, ever. Are you able to ping and traceroute to twitter.com? -Chad On Thu, Oct 29, 2009 at 2:11 PM, hima latha wrote: > I tried

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-29 Thread hima latha
I tried running the code on every other day for like a week now. I tried it continusly but it is not working anymore. Has this got to do with any Ip addresses being blocked? To confirm this, I tried running the code on different computers but with no success. On Thu, Oct 29, 2009 at 12:53 PM, Adam

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-29 Thread Andrew Badera
++ to that. But be gentle. ∞ Andy Badera ∞ +1 518-641-1280 ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Thu, Oct 29, 2009 at 1:55 PM, Dave Briccetti wrote: > > I’ve learned that wrapping every Twitter Web service call

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-29 Thread Dave Briccetti
I’ve learned that wrapping every Twitter Web service call with retry logic is essential. http://github.com/dcbriccetti/talking-puffin/blob/master/twitter-api/src/main/scala/org/talkingpuffin/twitter/Http.scala http://github.com/dcbriccetti/talking-puffin/blob/master/twitter-api/src/main/scala/org

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-29 Thread Adam Green
I'm also getting intermittent 502 errors, so I don't think this is code specific. I am calling the search API and getting a 502 error every couple of hours. The vast majority of API calls are working. Repeating the call after a 502 error generally works. On Oct 29, 11:41 am, hima wrote: > Hi > I

[twitter-dev] Re: Twitter connection giving a 502 Bad Gateway error

2009-10-29 Thread Naveen Ayyagari
I have seen these in our users logs as well. I wasn't sure if it was twitter or a mobile gateway they were using. On Oct 29, 2009, at 11:41 AM, hima wrote: Hi I am trying to collect users data from twitter, like the number of followers, number of tweets, the time the user' account is alive