Problem with System time? Unable to use twitter oAuth to login to my app

35 views
Skip to first unread message

nischalshetty

unread,
Aug 23, 2011, 2:06:36 PM8/23/11
to google-a...@googlegroups.com
I am getting a very high level of errors while logging in to my app using twitter oAuth and twitter says the token is invalid. This is happening to thousands of users right now.

Just want to confirm if the problem is on appengine's end?

Ikai Lan (Google)

unread,
Aug 23, 2011, 2:08:10 PM8/23/11
to google-a...@googlegroups.com
Not that I'm aware of. Have you asked Twitter yet?

--
Ikai Lan 
Developer Programs Engineer, Google App Engine



On Tue, Aug 23, 2011 at 11:06 AM, nischalshetty <nischal...@gmail.com> wrote:
I am getting a very high level of errors while logging in to my app using twitter oAuth and twitter says the token is invalid. This is happening to thousands of users right now.

Just want to confirm if the problem is on appengine's end?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ZtbgS7PtZrMJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

nischalshetty

unread,
Aug 23, 2011, 2:09:47 PM8/23/11
to google-a...@googlegroups.com
I'm going to do that now... Will revert back if I get any info... 

nischalshetty

unread,
Aug 23, 2011, 3:26:31 PM8/23/11
to google-a...@googlegroups.com
Haven't yet got a reply but the errors have slowed down. It's still appearing for a subset of our users though since I can see them in the logs at regular intervals. I saw similar complaints on the twitter mailing list but they seem to be suggesting users to check if their system clocks are out of sync.

I remember reading that the system clocks on the appengine servers can be off by a few hours. Is there a way I can think of a possible solution? Would moving the "login" module of my app to a backend help? Will the backend clock be in sync or it can have the same problem of the time being off by a few hours?

Any pointers to making sure we have an updated clock would be helpful. The clocks being off by a few minutes won't affect us but an hour or so I guess would make the oAuth tokens invalid.

Robert Kluin

unread,
Aug 24, 2011, 1:57:20 AM8/24/11
to google-a...@googlegroups.com
There have been many discussions on this topic. I think the general
consensus is that it is pretty rare to find clocks that are out of
sync by very much (seconds), but it is possible. Probably if you were
seeing this across your whole app it wasn't the issue. If it was
isolated to a subset of instances, perhaps. The instance is indicated
in the log entries, you could always download them and see if there
was a correlation between errors and the instance.


Robert

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/google-appengine/-/wPAdw5B4MbgJ.

Nischal Shetty

unread,
Aug 24, 2011, 5:17:41 PM8/24/11
to google-a...@googlegroups.com
Thanks for the info! I will look into the logs soon to see if I can zero this down to only a few instances.
--
-Nischal
twitter: NischalShetty
facebook: Nischal

    


Reply all
Reply to author
Forward
0 new messages