Project

General

Profile

Authentification problems with Rougemine

Added by Frank Steiner about 11 years ago

Hi,
I know rougemine is a 3rd-party app, but maybe someone here can get a clue what's wrong from the redmine debug messages. I've setup redmine 2.2.3 in our local apache server. Authentification is done in redmine (no external stuff like LDAP etc.) and login on the web page works fine. I've checked "authentication required".

Now, when we try to connect from an iPad with rougemine (with correct URL, username, password entered in the app), rougemine just tells "authentication failed" and we see the following error messages in production.log. Do they just mean that rougemine is doing sth. wrong or could they indicate a misconfiguration in our redmine installation?

I do have "enable REST web service" checked! And when I disable the "authentication required" rougemine still cannot connect with the same error message, just the messages in the redmine log look somewhat different...

cu,
Frank

OS: SuSE Linux Enterprise 11 SP2
Environment:
Redmine version 2.2.3.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.12
Environment production
Database adapter MySQL (5.0.96(
Redmine plugins:
no plugin installed

Messages from production.log:
Started GET "/" for 138.246.112.37 at Tue Mar 19 11:58:06 +0100 2013
Processing by WelcomeController#index as /*
(0.3ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.5ms) SELECT `users`.
FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Redirected to http://redmine.bio.ifi.lmu.de/login?back_url=http%3A%2F%2Fredmine.bio.ifi.lmu.de%2F
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
Started GET "/login?back_url=http%3A%2F%2Fredmine.bio.ifi.lmu.de%2F" for 138.246.112.37 at Tue Mar 19 11:58:06 +0100 2013
Processing by AccountController#login as /*
Parameters: {"back_url"=>"http://redmine.bio.ifi.lmu.de/"}
(0.3ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.4ms) SELECT `users`.
FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Rendered account/login.html.erb within layouts/base (2.8ms)
Completed 200 OK in 14ms (Views: 9.8ms | ActiveRecord: 0.6ms)
Started GET "/users/current.json" for 138.246.112.37 at Tue Mar 19 11:58:06 +0100 2013
Processing by UsersController#show as JSON
Parameters: {"id"=>"current"}
(0.2ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 5ms (ActiveRecord: 0.5ms)
Started GET "/users/current.json" for 138.246.112.37 at Tue Mar 19 11:58:06 +0100 2013
Processing by UsersController#show as JSON
Parameters: {"id"=>"current"}
(0.3ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms)
Started GET "/" for 138.246.112.237 at Tue Mar 19 11:58:07 +0100 2013
Processing by WelcomeController#index as /*
(0.3ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.3ms) SELECT `users`.
FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Redirected to http://redmine.bio.ifi.lmu.de/login?back_url=http%3A%2F%2Fredmine.bio.ifi.lmu.de%2F
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
Started GET "/login?back_url=http%3A%2F%2Fredmine.bio.ifi.lmu.de%2F" for 138.246.112.237 at Tue Mar 19 11:58:07 +0100 2013
Processing by AccountController#login as /*
Parameters: {"back_url"=>"http://redmine.bio.ifi.lmu.de/"}
(0.4ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.3ms) SELECT `users`.
FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Rendered account/login.html.erb within layouts/base (2.1ms)
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.7ms)
Started GET "/users/current.json" for 138.246.112.237 at Tue Mar 19 11:58:07 +0100 2013
Processing by UsersController#show as JSON
Parameters: {"id"=>"current"}
(0.3ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms)
Started GET "/users/current.json" for 138.246.112.237 at Tue Mar 19 11:58:08 +0100 2013
Processing by UsersController#show as JSON
Parameters: {"id"=>"current"}
(0.3ms) SELECT MAX AS max_id FROM `settings`
AnonymousUser Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') LIMIT 1
Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms)