DjangoBB

Django based forum engine

  • You are not logged in.

#1 March 21, 2011 11:30:58

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

hello djangobb friends,

are you guys running djangobb and authopenid with python2.6?
i have read around the net, that it maybe would be better to run it with python2.5.

right now with django1.2.3 and python2.6.5 its not possible for me todo a login via GOOGLE, Yahoo, OpenID,...
could it really be python2.6 related?

Error-messages:
-------------------
[Mon Mar 21 08:34:45 2011] [error] openid.associate request failed: (28, 'Connection time-out')
[Mon Mar 21 08:35:00 2011] [error] Generated checkid_setup request to https://www.google.com/accounts/o8/ud using stateless mode.
[Mon Mar 21 08:35:22 2011] [error] Error attempting to use stored discovery information: <openid.consumer.consumer.TypeURIMismatch: Required type http://specs.openid.net/auth/2.0/signon not found in ['http://specs.openid.net/auth/2.0/server', 'http://openid.net/srv/ax/1.0', 'http://specs.openid.net/extensions/ui/1.0/mode/popup', 'http://specs.openid.net/extensions/ui/1.0/icon', 'http://specs.openid.net/extensions/pape/1.0'] for endpoint <openid.consumer.discover.OpenIDServiceEndpoint server_url='https://www.google.com/accounts/o8/ud' claimed_id=None local_id=None canonicalID=None used_yadis=True >>
[Mon Mar 21 08:35:22 2011] [error] Attempting discovery to verify endpoint
[Mon Mar 21 08:35:22 2011] [error] Performing discovery on https://www.google.com/accounts/o8/id?id=someid<BItObwkFuTd1nGpsnty3i4V1xrhI_L7hiD50-2w>


Thanks for your help
scrapper

Offline

#2 March 21, 2011 13:56:03

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

another hint:
when i try to signin via google i do get the following error-message:

The OpenID https://www.google.com/accounts/o8/id was invalid

not really an answer on the net about that issue.

greetings
sc

Offline

#3 March 21, 2011 16:06:21

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

authopenid and python2.6

you tested it from localhost?)

for development i uses python 2.6, and this forum started at 2.6 version too

Offline

#4 March 21, 2011 16:24:45

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

slav0nic
you tested it from localhost?)

for development i uses python 2.6, and this forum started at 2.6 version too


i tested in production. but if its a localhost issue... than it could be nginx<->apache2 related.
i am serving static files via nginx and the rest is proxied from nginx to apache2.
maybe this is causing troubles?

i will try without nginx.

greetings
sc

Edited scrapper (March 21, 2011 16:30:28)

Offline

#5 March 21, 2011 16:50:16

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

i have tested without nginx. but the problem still exists.
i am not running on localhost.

well if i find a solution i will post it here.

greetings
sc

Offline

#6 March 21, 2011 17:22:46

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

@slavonic

now i have tested with myopenID and its working! so it can't be that wrong.
the question is, why is google id not working?

i do use signin with goolgeID here and it works fine.

Do you know the technical differences between myopenID and google?

greetings
sc

Offline

#7 March 21, 2011 20:10:28

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

i think i have found the root of the problem now.
in my /account/signin/ uri there was a ?next=/forum this is making troubles.
if i remove the ?next=/forum everything works fine.

now i only have to find a solution on how to handle it without a ?next=/forum.

thank you slavonic for your time.
hope this can help someone with a similar issue.

greetings
sc

Offline

#8 March 21, 2011 21:36:02

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

authopenid and python2.6

no that was not the solution.

it only worked for some seconds.
now its not working again.

i have no idea what causes the troubles.

Offline

#9 March 22, 2011 13:21:53

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

authopenid and python2.6

u used lates version of python-openid, authopenid and djangobb?
can u check openid url at this forum instance?

Offline

#10 March 22, 2011 13:24:13

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

authopenid and python2.6

+ check if openid url avaibled from you hosting (is outgouning conections allowed?)
check via 'HEAD https://www.google.com/accounts/o8/id' or wget/curl/lynx etc

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version