[opensuse-buildservice] Private OBS instance webui Authentication failed
Hello All, I'm setting up a private obs instance on an opensuse 12.1 system and the setup's gone off without issue until I attempt to log into the web interface. When attempting to login with Admin/opensuse I get authentication failed. I'm able to log into the API using osc and a browser. From the webui production.log it looks like it's missing some configuration but I'm not sure where to look for that, the log is below. What do I need to do this resolve this? OpenSUSE 12.1 openSUSE_Tools_2.3 - http://download.opensuse.org/repositories/openSUSE:/Tools:/2.3/openSUSE_12.1... [INFO |#21143] Processing ApplicationController#index (for ::1 at 2013-03-26 11:06:36) [GET] [FATAL|#21143] ActionController::RoutingError (No route matches "/configuration.json" with {:method=>:get}): passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:268:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:263:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:261:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:93:in `start' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) helper-scripts/passenger-spawn-server:99 [ERROR|#21143] rescue_action: caught ActionController::RoutingError: No route matches "/configuration.json" with {:method=>:get} [INFO |#21143] Rendering template within layouts/application [INFO |#21143] Rendering error (404) [INFO |#21143] Processing ApplicationController#index (for ::1 at 2013-03-26 11:06:36) [GET] [FATAL|#21143] ActionController::RoutingError (No route matches "/person/Admin" with {:method=>:get}): passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:268:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:263:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:261:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:93:in `start' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) helper-scripts/passenger-spawn-server:99 [ERROR|#21143] rescue_action: caught ActionController::RoutingError: No route matches "/person/Admin" with {:method=>:get} [INFO |#21143] Rendering template within layouts/application [INFO |#21143] Rendering error (404) [INFO |#19275] Processing UserController#do_login (for 10.100.90.47 at 2013-03-26 11:06:36) [POST] [INFO |#19275] Parameters: {"authenticity_token"=>"mf52T8Pu/WLlBChPLQDInssERfZ8kFcWSwneuSuYjDg=", "return_to_path"=>"/", "login"=>"Login »", "action"=>"do_login", "username"=>"Admin", "method"=>"post", "password"=>"[FILTERED]", "controller"=>"user"} [INFO |#19275] Anonymous request to / [ERROR|#19275] --> caught EOFError: end of file reached, retrying with new HTTP connection [ERROR|#19275] Site configuration not found [INFO |#19275] Rendering template within layouts/application [INFO |#19275] Rendering user/login [INFO |#19275] Completed in 138ms (View: 66, DB: 10) | 200 OK [https://obs.its.ctg.com/user/do_login?method=post] -- Later, Darin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Anyone? -- Later, Darin On Tue, Mar 26, 2013 at 11:11 AM, Darin Perusich <darin@darins.net> wrote:
Hello All,
I'm setting up a private obs instance on an opensuse 12.1 system and the setup's gone off without issue until I attempt to log into the web interface. When attempting to login with Admin/opensuse I get authentication failed. I'm able to log into the API using osc and a browser. From the webui production.log it looks like it's missing some configuration but I'm not sure where to look for that, the log is below.
What do I need to do this resolve this?
OpenSUSE 12.1 openSUSE_Tools_2.3 - http://download.opensuse.org/repositories/openSUSE:/Tools:/2.3/openSUSE_12.1...
[INFO |#21143] Processing ApplicationController#index (for ::1 at 2013-03-26 11:06:36) [GET]
[FATAL|#21143] ActionController::RoutingError (No route matches "/configuration.json" with {:method=>:get}): passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:268:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:263:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:261:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:93:in `start' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) helper-scripts/passenger-spawn-server:99
[ERROR|#21143] rescue_action: caught ActionController::RoutingError: No route matches "/configuration.json" with {:method=>:get} [INFO |#21143] Rendering template within layouts/application [INFO |#21143] Rendering error (404)
[INFO |#21143] Processing ApplicationController#index (for ::1 at 2013-03-26 11:06:36) [GET]
[FATAL|#21143] ActionController::RoutingError (No route matches "/person/Admin" with {:method=>:get}): passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:268:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:263:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:261:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.9) lib/phusion_passenger/classic_rails/framework_spawner.rb:93:in `start' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) helper-scripts/passenger-spawn-server:99
[ERROR|#21143] rescue_action: caught ActionController::RoutingError: No route matches "/person/Admin" with {:method=>:get} [INFO |#21143] Rendering template within layouts/application [INFO |#21143] Rendering error (404)
[INFO |#19275] Processing UserController#do_login (for 10.100.90.47 at 2013-03-26 11:06:36) [POST] [INFO |#19275] Parameters: {"authenticity_token"=>"mf52T8Pu/WLlBChPLQDInssERfZ8kFcWSwneuSuYjDg=", "return_to_path"=>"/", "login"=>"Login »", "action"=>"do_login", "username"=>"Admin", "method"=>"post", "password"=>"[FILTERED]", "controller"=>"user"} [INFO |#19275] Anonymous request to / [ERROR|#19275] --> caught EOFError: end of file reached, retrying with new HTTP connection [ERROR|#19275] Site configuration not found [INFO |#19275] Rendering template within layouts/application [INFO |#19275] Rendering user/login [INFO |#19275] Completed in 138ms (View: 66, DB: 10) | 200 OK [https://obs.its.ctg.com/user/do_login?method=post]
-- Later, Darin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hey, On 26.03.2013 16:11, Darin Perusich wrote:
I'm setting up a private obs instance on an opensuse 12.1 system and the setup's gone off without issue until I attempt to log into the web interface. When attempting to login with Admin/opensuse I get authentication failed. I'm able to log into the API using osc and a browser. From the webui production.log it looks like it's missing some configuration but I'm not sure where to look for that, the log is below.
What do I need to do this resolve this?
OpenSUSE 12.1 openSUSE_Tools_2.3 - http://download.opensuse.org/repositories/openSUSE:/Tools:/2.3/openSUSE_12.1...
You really should use https://build.opensuse.org/project/show?project=OBS:Server:2.4 it's close to release and 2.3 doesn't receive much care anymore.
[FATAL|#21143] ActionController::RoutingError (No route matches "/configuration.json" with {:method=>:get}):
Something goes terribly wrong. Are you sure you connect to the right host/port for the api? Without a complete log and details about how you've set this up one can't tell what wrong. Henne -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Henne, On Wed, Mar 27, 2013 at 8:27 AM, Henne Vogelsang <hvogel@opensuse.org> wrote:
Hey,
On 26.03.2013 16:11, Darin Perusich wrote:
I'm setting up a private obs instance on an opensuse 12.1 system and the setup's gone off without issue until I attempt to log into the web interface. When attempting to login with Admin/opensuse I get authentication failed. I'm able to log into the API using osc and a browser. From the webui production.log it looks like it's missing some configuration but I'm not sure where to look for that, the log is below.
What do I need to do this resolve this?
OpenSUSE 12.1 openSUSE_Tools_2.3 - http://download.opensuse.org/repositories/openSUSE:/Tools:/2.3/openSUSE_12.1...
You really should use
https://build.opensuse.org/project/show?project=OBS:Server:2.4
it's close to release and 2.3 doesn't receive much care anymore.
I just updated to 2.4, updated/configured OBS and it's working now.
[FATAL|#21143] ActionController::RoutingError (No route matches "/configuration.json" with {:method=>:get}):
Something goes terribly wrong. Are you sure you connect to the right host/port for the api?
Now that I'm looking at the old webui production config it was the frontend_port, it was set to the default 443 and not changed to 444.
Without a complete log and details about how you've set this up one can't tell what wrong.
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Darin Perusich
-
Henne Vogelsang