1. Roman Barczyński
  2. django_openid_provider
  3. Issues
Issue #2 resolved

ProtocolError: No mode value in message

Anonymous created an issue

After login a Protocol Error occurs with the following traceback. Please note that if the user is already logged in everything works as expected. {{{

!python

Environment:

Request Method: GET Request URL: http://dev.yubo.be/id/?openid.claimed_id=http://dev.yubo.be/id/test/ Django Version: 1.2.1 Python Version: 2.6.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'openid_provider'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')

Traceback: File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response 100. response = callback(request, callback_args, *callback_kwargs) File "/srv/http/yubo.be/www/openid_provider/views.py" in openid_server 70. orequest = server.decodeRequest(querydict) File "build/bdist.linux-i686/egg/openid/server/server.py" in decodeRequest 1611. return self.decoder.decode(query) File "build/bdist.linux-i686/egg/openid/server/server.py" in decode 1441. raise ProtocolError(message, text=fmt % (message,))

Exception Type: ProtocolError at /id/ Exception Value: No mode value in message <openid.message.Message {('http://openid.net/signon/1.0', u'claimed_id'): u'http://dev.yubo.be/id/test/'}>;

}}}

Comments (3)

  1. Log in to comment