Server Internal error while using Google open auth

asked 2012-03-07 23:12:45 -0600

Prafulla T gravatar image

Hi,

I am getting Internal error when I use google open auth I have attached full server log at http://pastebin.com/iUDwAw0G Can someone take a look and let me know if anything is wrong with my installation ?

edit retag flag offensive close merge delete

Comments

Can you log in with password? Did you customize the settings.py file? Maybe you can post it too? I don't have this error anywhere.

Evgeny gravatar imageEvgeny ( 2012-03-08 09:02:04 -0600 )edit

Hi, password is only method that works, None of openid based login works. Here is settings.py, I have masked real username/password/ip. http://pastebin.com/EcvkD11U

Prafulla T gravatar imagePrafulla T ( 2012-03-08 09:52:48 -0600 )edit

You might have an issue with the server time - do you have "root" access? You could try running ntpdate us.pool.ntp.org. Also you could just check the current system time by typing date. If the date is off the mark and you do not have root access - talk to your hosting support.

Evgeny gravatar imageEvgeny ( 2012-03-08 10:05:04 -0600 )edit

I just checked time using date command, it seems to be correct as per Chicago timezone. Can you tell me how you arrived at that conclusion ?

Prafulla T gravatar imagePrafulla T ( 2012-03-08 10:48:40 -0600 )edit

When server time is incorrect, openid and oauth protocol breaks, I've seen that. Also it is possible that there is some issue in the python openid library and/or the way we use it. Please check if the library was recently updated and in the case it was - downgrade it to some older version. I will look into this too later today.

Evgeny gravatar imageEvgeny ( 2012-03-08 10:52:39 -0600 )edit