Project

General

Profile

Actions

Defect #5691

closed

OpenID authentication fails with "Invalid null namespace"

Added by Harry Brundage almost 14 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
OpenID
Target version:
-
Start date:
2010-06-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

I get an error whenever I try to log in to my Redmine install with OpenID. I've tried several different endpoints and fiddling with the configs, but I always get this error:

Processing AccountController#login (for 130.15.105.53 at 2010-06-15 14:15:30) [POST]
  Parameters: {"openid.mode"=>"id_res", "openid.op_endpoint"=>"http%3A%2F%2Fwww.myopenid.com%2Fserver", "openid.return_to"=>"http%3A%2F%2Fdeveloper.entrada-project.org%2Flogin%3F_method%3Dpost%26open_id_complete%3D1", "openid.sig"=>"czuB%2FBqYoYUMjGKW2sDXeHUR0fg%3D", "openid.response_nonce"=>"2010-06-15T14%3A15%3A30ZzMX3OY", "openid.ns"=>"http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0", "action"=>"login", "_method"=>"post", "openid.identity"=>"http%3A%2F%2Fhornairs.myopenid.com%2F", "openid.assoc_handle"=>"%7BHMAC-SHA1%7D%7B4c0d28ff%7D%7BKkNbpQ%3D%3D%7D", "openid.signed"=>"assoc_handle%2Cclaimed_id%2Cidentity%2Cmode%2Cns%2Cop_endpoint%2Cresponse_nonce%2Creturn_to%2Csigned", "controller"=>"account", "open_id_complete"=>"1", "openid.claimed_id"=>"http%3A%2F%2Fhornairs.myopenid.com%2F"}

OpenID::InvalidOpenIDNamespace (Invalid null namespace: http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0):
  /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/message.rb:198:in `set_openid_namespace'
  /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/message.rb:161:in `_from_openid_args'
  /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/message.rb:151:in `each'
  /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/message.rb:151:in `_from_openid_args'
  /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/message.rb:132:in `from_post_args'
  /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/consumer.rb:282:in `complete'
  app/controllers/account_controller.rb:158:in `open_id_authenticate'
  app/controllers/account_controller.rb:32:in `login'

Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)

I'm running Redmine 0.9.3 on the Bitnami Redmine virtual image which provides a quick easy way to get Redmine up and running, but things are arranged in a somewhat weird way. I don't think that the Bitnami stack and configuration are the issue here, it seems to be a Ruby/open_id_authentication issue.

$: /opt/bitnami/ruby/bin/ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux]

$: /opt/bitnami/ruby/bin/gem -v
1.3.6

Any suggestions? Can I give you any more information?

Actions

Also available in: Atom PDF