Skip to content

Instantly share code, notes, and snippets.

@krishnasrihari
Created December 9, 2012 08:18
Show Gist options
  • Save krishnasrihari/4243865 to your computer and use it in GitHub Desktop.
Save krishnasrihari/4243865 to your computer and use it in GitHub Desktop.
Unauthorized 401 active admin
.........................................................................
For admin/login
.........................................................................
Started GET "/admin" for 192.168.0.101 at 2012-12-09 13:35:53 +0530
Processing by Admin::DashboardController#index as HTML
Completed 401 Unauthorized in 15ms
Started GET "/admin/login" for 192.168.0.101 at 2012-12-09 13:35:53 +0530
Processing by ActiveAdmin::Devise::SessionsController#new as HTML
Completed 401 Unauthorized in 3ms
Started GET "/users/sign_in" for 192.168.0.101 at 2012-12-09 13:35:53 +0530
Processing by SessionsController#new as HTML
before authenticate user! filter
exit hack filter
Rendered devise/sessions/new.html.erb within layouts/devise (143.9ms)
Rendered layouts/_meta_tags.html.erb (0.2ms)
Rendered layouts/_search.html.haml (83.5ms)
Rendered layouts/_header.html.erb (173.0ms)
Rendered layouts/_hidden_messages.html.erb (1.0ms)
Rendered layouts/_footer.html.erb (20.8ms)
Rendered layouts/_js.html.erb (396.1ms)
Completed 200 OK in 2102ms (Views: 2027.4ms | ActiveRecord: 0.0ms)
.........................................................................
For admin/logout
.........................................................................
Started DELETE "/admin/logout" for 192.168.0.101 at 2012-12-09 16:22:11 +0530
Processing by ActiveAdmin::Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"XOrLitiXtBaTAX/BtwA7A6uGVHS3IdHtUFeAy5JnVic="}
Completed 401 Unauthorized in 5ms
Started GET "/users/sign_in" for 192.168.0.101 at 2012-12-09 16:22:11 +0530
Processing by SessionsController#new as HTML
Rendered devise/sessions/new.html.erb within layouts/devise (16.7ms)
Rendered layouts/_meta_tags.html.erb (0.3ms)
Rendered layouts/_search.html.haml (4.6ms)
Rendered layouts/_header.html.erb (24.3ms)
Rendered layouts/_hidden_messages.html.erb (1.0ms)
Rendered layouts/_footer.html.erb (2.3ms)
Rendered layouts/_js.html.erb (357.0ms)
Completed 200 OK in 560ms (Views: 552.2ms | ActiveRecord: 0.0ms)
@sagarbommidi
Copy link

Hey Have you got any solution for this problem? I am getting the same kind of problem...

Thanks,
Sagar Bommidi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment