All: I won't have time to do this in the next several hours (my app engine 
app is not my day job), but I think tonight I'll try changing the 
api.twitter.com endpoint to point to a URL I own, and then examine the URLs 
/ query strings and headers received from my prod vs. dev code to see if 
the encoding is any different.

I figure that could help point to whether it's a urlfetch issue. Only other 
thing I can think of, if it's not urlfetch, is that the oauth signatures 
are being generated differently in prod vs. dev, due to a difference in 
some built-in python library on the prod server, and that will be much more 
difficult to debug since the timestamp and nonce prevent you from comparing 
dev vs prod requests character-by-character.


On Wednesday, April 29, 2015 at 9:36:17 AM UTC-5, Ryan Barrett wrote:
>
> hi all! a number of us have started seeing twitter API errors in prod GAE 
> in the last week or so. write calls and some search calls are returning 
> HTTP 401 {"errors":[{"code":32,"message":"Could not authenticate you."}]} 
> for all users with no code changes on our end. the particularly odd part is 
> that the same calls with the same code, twitter app key/secret, and even *the 
> exact same user access token key/secret* work fine in dev_appserver.
>
> we're on python and mostly using tweepy. our current theory is that 
> twitter has blacklisted or graylisted app engine's external facing IPs. can 
> you think of any other ideas?
>
> more details in this twitter dev forum post. 
> <https://twittercommunity.com/t/post-to-statuses-update-json-started-hitting-error-32-could-not-authenticate-you-with-no-code-changes/36495>
>  
> thanks in advance!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3c59b082-5b10-45fc-91bf-c5ea8ef6efa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to