Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uptwitter publish: error 32 "Could not authenticate you." #389
Comments
snarfed
added
the
publish
label
Apr 23, 2015
This comment has been minimized.
This comment has been minimized.
|
on the plus side, i'm doing a happy dance in my seat right now to have a silo bug that's not facebook. (i live a small, sad life. :P) |
snarfed
added
the
now
label
Apr 23, 2015
This comment has been minimized.
This comment has been minimized.
barryf
commented
Apr 23, 2015
|
Hey @snarfed. No need to apologise! -- is there anything I can help with in terms of debugging? I've tried re-authenticating but that still results in the |
This comment has been minimized.
This comment has been minimized.
|
@barryf thanks for the offer! i don't know where to start looking yet, and my day job has been pretty busy recently, so it may be a few days before i get to it. definitely feel free to jump in if you want! |
This comment has been minimized.
This comment has been minimized.
|
progress: i can reproduce it on https://www.brid.gy/twitter/snarfed_org by trying to publish http://xenon.stanford.edu/~rbarrett/iso.html, but not with the same page and account in dev_appserver. so maybe there's something up with bridgy's twitter app. |
This comment has been minimized.
This comment has been minimized.
|
...except we use the same twitter app (key and secret) for localhost and for brid.gy. so i'm kind of stumped. :( |
This comment has been minimized.
This comment has been minimized.
|
i've poked at this some more, but no luck. web searches say re-authing as the individual user sometimes fixes it, but not always (including here). they also say it can happen when you change your app-level permissions, or auth as a user with a different i'm at a wall. anyone have any ideas? |
This comment has been minimized.
This comment has been minimized.
barryf
commented
Apr 26, 2015
|
Re-authing seems to be the only recommendation I've seen and, as you say, that doesn't help here. |
This comment has been minimized.
This comment has been minimized.
|
next lead i'm going to try: check tweepy's changelog and update if i see anything promising. (or maybe even if i don't.) |
This comment has been minimized.
This comment has been minimized.
barryf
commented
Apr 26, 2015
|
Thanks Ryan. If it doesn't look like there's going to be a simple fix I'll happily write my own Twitter syndication code (I'd started down that track anyway but found your implementation was better) and I guess others could also do so. As you say, you've got quite a lot on your plate with your day job (congrats!). |
added a commit
to snarfed/oauth-dropins
that referenced
this issue
Apr 27, 2015
This comment has been minimized.
This comment has been minimized.
|
i upgraded tweepy, but no luck. i'm out of ideas. :/ |
This comment has been minimized.
This comment has been minimized.
|
another data point: i tried locally with the same access token as an account in prod, and it worked. so they've blacklisted app engine, or something else about the prod environment that i can't find is unhappy. |
This comment has been minimized.
This comment has been minimized.
|
posted this on twitter's developer forum:
|
This comment has been minimized.
This comment has been minimized.
|
the plot thickens: a number of people chimed in on that forum post with the same problem. i've also posted on the GAE forum. |
added a commit
that referenced
this issue
Apr 30, 2015
This comment has been minimized.
This comment has been minimized.
|
major respect to the three of you debugging a black box. that's awesome to watch. |
This comment has been minimized.
This comment has been minimized.
|
aww thanks! especially to dave loomer in that GAE forum thread, he's diving really deep. |
This comment has been minimized.
This comment has been minimized.
|
to summarize the current state of affairs, we think app engine 1.9.20 introduced new URL-escaping behavior into the urlfetch API that sometimes breaks OAuth 1.1 signatures in Twitter API calls. we see this on 1.9.20 instances but not 1.9.19. (i'm guessing it would also happen with other OAuth 1.1 services, e.g. Tumblr.) a google devrel person pointed us to this app engine issue, which sounds like the same thing. feel free to star it! |
This comment has been minimized.
This comment has been minimized.
|
app engine fixed their bug; bridgy publish can tweet again! yay. glad i can close this. |
snarfed
closed this
May 2, 2015
This comment has been minimized.
This comment has been minimized.
barryf
commented
May 3, 2015
|
Wow. True needle-in-a-haystack debugging. Thanks very much for persevering with this. I'm happily Bridgy publishing again. |
snarfed commentedApr 23, 2015
seen this a few times over the last few days (week) or so, i think just for @gRegorLove and @barryf. (sorry guys!)
example from this log: