Unable to login to activerecord after install w/ default login information

82 views
Skip to first unread message

Abdulaleem Seyed

unread,
Sep 19, 2015, 8:07:58 PM9/19/15
to rubyonra...@googlegroups.com
I have installed active admin on three different apps today and the
default login information is not working. I keep getting Unauthorized
error message. The error is the same in my local development in
terminal, as we as Nitrous.io IDE. I check stackoverflow for a solution,
however, what they we prescribing I have tried already. I.E. Changing
the password in the console for Admin user. Please advise if I should
be using using different install instructions. Thanks

Started POST "/admin/login" for 50.17.182.190 at 2015-09-19 23:52:53
+0000
Cannot render console from 50.17.182.190! Allowed networks: 127.0.0.1,
::1, 127.0.0.0/127.255.255.255
ActiveRecord::SchemaMigration Load (0.1ms) SELECT
"schema_migrations".* FROM "schema_migrations"

Processing by ActiveAdmin::Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓",
"authenticity_token"=>"nwr2HyEpObNw+u5KErgjXAw+HxgXWNd2Ph8sleNC2v82CH7QmLwq/XeQc80HyL/bx3HEb1RUwcoogzsdyV/utQ==",
"admin_user"=>{"email"=>"ad...@example.com
", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users"
WHERE "admin_users"."email" = ? ORDER BY "admin_users"."id" ASC LIMIT 1
[["email", "ad...@example.com"]]
Completed 401 Unauthorized in 21ms

Processing by ActiveAdmin::Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓",
"authenticity_token"=>"nwr2HyEpObNw+u5KErgjXAw+HxgXWNd2Ph8sleNC2v82CH7QmLwq/XeQc80HyL/bx3HEb1RUwcoogzsdyV/utQ==",
"admin_user"=>{"email"=>"ad...@example.com
", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}

Rendered
.bundle/bundler/gems/activeadmin-893b46c6530c/app/views/active_admin/devise/shared/_links.erb
(12.7ms)

Rendered
.bundle/bundler/gems/activeadmin-893b46c6530c/app/views/active_admin/devise/sessions/new.html.erb
within layouts/active_admin_logged_out (63.0ms)
Completed 200 OK in 586ms (Views: 481.7ms | ActiveRecord: 0.0ms)

--
Posted via http://www.ruby-forum.com/.

Nezir Zahirovic

unread,
Jun 21, 2016, 7:44:10 AM6/21/16
to Ruby on Rails: Talk
Did you find solution?


On Saturday, September 19, 2015 at 8:07:58 PM UTC-4, Ruby-Forum.com User wrote:
I have installed active admin on three different apps today and the
default login information is not working.  I keep getting Unauthorized
error message. The error is the same in my local development in
terminal, as we as Nitrous.io IDE. I check stackoverflow for a solution,
however, what they we prescribing I have tried already. I.E. Changing
the password in the console for Admin user.  Please advise if  I should
be using using different install instructions. Thanks

Started POST "/admin/login" for 50.17.182.190 at 2015-09-19 23:52:53
+0000
Cannot render console from 50.17.182.190! Allowed networks: 127.0.0.1,
::1, 127.0.0.0/127.255.255.255
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT
"schema_migrations".* FROM "schema_migrations"

Processing by ActiveAdmin::Devise::SessionsController#create as HTML
  Parameters: {"utf8"=>"✓",
"authenticity_token"=>"nwr2HyEpObNw+u5KErgjXAw+HxgXWNd2Ph8sleNC2v82CH7QmLwq/XeQc80HyL/bx3HEb1RUwcoogzsdyV/utQ==",
"admin_user"=>{"email"=>"admin@example.com
", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
  AdminUser Load (0.2ms)  SELECT  "admin_users".* FROM "admin_users"
WHERE "admin_users"."email" = ?  ORDER BY "admin_users"."id" ASC LIMIT 1
[["email", "ad...@example.com"]]
Completed 401 Unauthorized in 21ms

Processing by ActiveAdmin::Devise::SessionsController#new as HTML
  Parameters: {"utf8"=>"✓",
"authenticity_token"=>"nwr2HyEpObNw+u5KErgjXAw+HxgXWNd2Ph8sleNC2v82CH7QmLwq/XeQc80HyL/bx3HEb1RUwcoogzsdyV/utQ==",
"admin_user"=>{"email"=>"admin@example.com
Reply all
Reply to author
Forward
0 new messages