OAuth success but getting intermittent 500 Internal Server Error requesting access token

165 views
Skip to first unread message

Yu-Shan Fung

unread,
Nov 11, 2009, 1:29:44 PM11/11/09
to twitter-deve...@googlegroups.com
Hi All,

I've been getting a high number of 500 errors (about 50% of the time yesterday) after user authenticated via oauth, and I try to get the access token from twitter. The weird thing is that the error is not consistent, and the exact same code/setup works about half the time, with the same test user acocunt.

I'm using the ruby oauth gem and here's the error it returns
 500 "Internal Server Error"
 /usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
 [RAILS_ROOT]/vendor/gems/oauth-0.3.5/lib/oauth/consumer.rb:199:in `token_request'
 [RAILS_ROOT]/vendor/gems/oauth-0.3.5/lib/oauth/tokens/request_token.rb:18:in `get_access_token'
....

Any idea what could be causing this?

Thanks, much appreciated!
Yu-Shan


--
“When nothing seems to help, I go look at a stonecutter hammering away at his rock perhaps a hundred times without as much as a crack showing in it. Yet at the hundred and first blow it will split in two, and I know it was not that blow that did it, but all that had gone before.” — Jacob Riis

Sean

unread,
Nov 11, 2009, 6:39:31 PM11/11/09
to Twitter Development Talk
Getting the same thing, 500's from access token requests.

This is affecting all of our new users.

Any insight would be lovely!

Sean
Ping.fm

John Kalucki

unread,
Nov 11, 2009, 6:54:43 PM11/11/09
to Twitter Development Talk
We're looking into the 500s on oAuth requests.


-John Kalucki
http://twitter.com/jkalucki
Services, Twitter Inc.

Mark McBride

unread,
Nov 11, 2009, 10:13:06 PM11/11/09
to twitter-deve...@googlegroups.com
We have identified the issue and deployed a fix. Please let us know
if you continue to see high error rates on oauth URLs.

---Mark

Michael Buckbee

unread,
Nov 11, 2009, 3:37:52 PM11/11/09
to Twitter Development Talk
This isn't of any use in fixing it, but we're seeing very similar
issues (using ruby twitter-auth) with our application.

- Mike

Waldron Faulkner

unread,
Nov 12, 2009, 11:29:48 AM11/12/09
to Twitter Development Talk
Our app had same issue, was mostly OK overnight, but we did see the
odd failure.

Is there an update on what happened? Thanks!

- Waldron
GraphEdge.com

On Nov 11, 1:29 pm, Yu-Shan Fung <ambivale...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages