I'm working on my first Rails app. I'm in Windows, so I'm building it in Cloud9, and I deployed it to Heroku. In my Heroku dashboard, the app appears to be fine, but the app page gives me the message: The page you were looking for doesn't exist. After some searching, it seemed like I needed to run heroku run rake db:migrate to migrate the database, but that doesn't help.
Here are my Heroku logs:
heroku-cli: This CLI is deprecated. Please reinstall from https://cli.heroku.com
2017-08-11T01:43:05.558405+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] Started GET "/" for 99.120.160.17 at 2017-08-11 01:43:05 +0000
2017-08-11T01:43:05.558994+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3]
2017-08-11T01:43:05.559041+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] ActionController::RoutingError (No route matches [GET] "/"):
2017-08-11T01:43:05.559084+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3]
2017-08-11T01:43:05.559167+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2017-08-11T01:43:05.559168+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2017-08-11T01:43:05.559169+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
2017-08-11T01:43:05.559171+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2017-08-11T01:43:05.559170+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
2017-08-11T01:43:05.559171+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-08-11T01:43:05.559172+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
2017-08-11T01:43:05.559172+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
2017-08-11T01:43:05.559173+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2017-08-11T01:43:05.559173+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2017-08-11T01:43:05.559174+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
2017-08-11T01:43:05.559174+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
2017-08-11T01:43:05.559176+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2017-08-11T01:43:05.559177+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
2017-08-11T01:43:05.559177+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
2017-08-11T01:43:05.559178+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
2017-08-11T01:43:05.559178+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
2017-08-11T01:43:05.559179+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
2017-08-11T01:43:05.559180+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
2017-08-11T01:43:05.559181+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
2017-08-11T01:43:05.559181+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
2017-08-11T01:43:05.559182+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-11T01:43:05.559094+00:00 heroku[router]: at=info method=GET path="/" host=ancient-chamber-34720.herokuapp.com request_id=4ba2946c-ac27-40e5-9103-3e816be754f3 fwd="99.120.160.17" dyno=web.1 connect=0ms service=3ms status=404 bytes=1902 protocol=https
2017-08-11T01:47:57.042650+00:00 app[api]: Starting process with command `bundle exec rake db:setup` by user brandoncaples#gmail.com
2017-08-11T01:48:01.990913+00:00 heroku[run.4123]: State changed from starting to up
2017-08-11T01:48:02.024309+00:00 heroku[run.4123]: Awaiting client
2017-08-11T01:48:02.052289+00:00 heroku[run.4123]: Starting process with command `bundle exec rake db:setup`
2017-08-11T01:48:10.217218+00:00 heroku[run.4123]: Process exited with status 1
2017-08-11T01:48:10.232633+00:00 heroku[run.4123]: State changed from up to complete
2017-08-11T02:02:42.679829+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user brandoncaples#gmail.com
2017-08-11T02:02:51.689696+00:00 heroku[run.1356]: Awaiting client
2017-08-11T02:02:51.739457+00:00 heroku[run.1356]: Starting process with command `bundle exec rake db:migrate`
2017-08-11T02:02:51.866557+00:00 heroku[run.1356]: State changed from starting to up
2017-08-11T02:02:59.292552+00:00 heroku[run.1356]: Process exited with status 0
2017-08-11T02:02:59.307200+00:00 heroku[run.1356]: State changed from up to complete
2017-08-11T02:05:52.716537+00:00 heroku[router]: at=info method=GET path="/" host=ancient-chamber-34720.herokuapp.com request_id=fd8e890f-9c20-4efb-8d70-a91ceab82aba fwd="99.120.160.17" dyno=web.1 connect=0ms service=2ms status=404 bytes=1902 protocol=https
2017-08-11T02:05:52.715968+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] Started GET "/" for 99.120.160.17 at 2017-08-11 02:05:52 +0000
2017-08-11T02:05:52.716458+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba]
2017-08-11T02:05:52.716486+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] ActionController::RoutingError (No route matches [GET] "/"):
2017-08-11T02:05:52.716510+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba]
2017-08-11T02:05:52.716553+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2017-08-11T02:05:52.716554+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2017-08-11T02:05:52.716556+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
2017-08-11T02:05:52.716558+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
2017-08-11T02:05:52.716558+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2017-08-11T02:05:52.716559+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-08-11T02:05:52.716560+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
2017-08-11T02:05:52.716561+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
2017-08-11T02:05:52.716561+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2017-08-11T02:05:52.716563+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
2017-08-11T02:05:52.716562+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2017-08-11T02:05:52.716564+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
2017-08-11T02:05:52.716565+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2017-08-11T02:05:52.716566+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
2017-08-11T02:05:52.716567+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
2017-08-11T02:05:52.716568+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
2017-08-11T02:05:52.716567+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
2017-08-11T02:05:52.716569+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
2017-08-11T02:05:52.716569+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
2017-08-11T02:05:52.716570+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
2017-08-11T02:05:52.716571+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
2017-08-11T02:05:52.716572+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-11T02:10:18.256514+00:00 heroku[router]: at=info method=GET path="/" host=ancient-chamber-34720.herokuapp.com request_id=18159048-11cd-4f4c-9bfe-e2e258376b0c fwd="99.120.160.17" dyno=web.1 connect=0ms service=2ms status=404 bytes=1902 protocol=https
2017-08-11T02:10:18.255372+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] Started GET "/" for 99.120.160.17 at 2017-08-11 02:10:18 +0000
2017-08-11T02:10:18.255948+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c]
2017-08-11T02:10:18.256009+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] ActionController::RoutingError (No route matches [GET] "/"):
2017-08-11T02:10:18.256060+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c]
2017-08-11T02:10:18.256151+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2017-08-11T02:10:18.256153+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2017-08-11T02:10:18.256155+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
2017-08-11T02:10:18.256156+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
2017-08-11T02:10:18.256157+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2017-08-11T02:10:18.256158+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-08-11T02:10:18.256159+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
2017-08-11T02:10:18.256159+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
2017-08-11T02:10:18.256161+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2017-08-11T02:10:18.256161+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
2017-08-11T02:10:18.256160+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2017-08-11T02:10:18.256162+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
2017-08-11T02:10:18.256163+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2017-08-11T02:10:18.256164+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
2017-08-11T02:10:18.256165+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
2017-08-11T02:10:18.256165+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
2017-08-11T02:10:18.256166+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
2017-08-11T02:10:18.256166+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
2017-08-11T02:10:18.256167+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
2017-08-11T02:10:18.256168+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
2017-08-11T02:10:18.256169+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
2017-08-11T02:10:18.256169+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-11T02:44:02.843309+00:00 heroku[web.1]: Idling
2017-08-11T02:44:02.844174+00:00 heroku[web.1]: State changed from up to down
2017-08-11T02:44:03.498485+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2017-08-11T02:44:03.512042+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2017-08-11T02:44:03.512960+00:00 app[web.1]: Exiting
2017-08-11T02:44:03.512921+00:00 app[web.1]: - Goodbye!
2017-08-11T02:44:03.512915+00:00 app[web.1]: === puma shutdown: 2017-08-11 02:44:03 +0000 ===
2017-08-11T02:44:03.635679+00:00 heroku[web.1]: Process exited with status 0
Any suggestions?
I think you need to compile your asset,
you can do this in your
config/environments/production.rb file:
Please change this
config.assets.compile = true
It will be very helpful if you post log from heroku.
Related
I am getting a Routing error says " no routes matches [GET] "/login" " and also in ruby libraries. During running on a server it displays page not found and the logs for that error is Logs show [GET] route error and library error.
I have my index file at following path
views/home/index.html.erb
My code in config/routes.rb is:
Rails.application.routes.draw do
root 'home#index'
get 'show' => 'welcomes#show'
resources :home
I am working on this app for the last 10 days with the same route and ruby version without an error but now this error came from nowhere.
I am using heroku as my intermediate server.
`2019-09-13T13:34:32.403531+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/rack-2.0.7/lib/rack/runtime.rb:22:in `call'
2019-09-13T13:34:32.403536+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2019-09-13T13:34:32.403538+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'
2019-09-13T13:34:32.403540+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'
2019-09-13T13:34:32.403542+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/rack-2.0.7/lib/rack/sendfile.rb:111:in `call'
2019-09-13T13:34:32.403544+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'
2019-09-13T13:34:32.403547+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/configuration.rb:227:in `call'
2019-09-13T13:34:32.403549+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:660:in `handle_request'
2019-09-13T13:34:32.403551+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:474:in `process_client'
2019-09-13T13:34:32.403552+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:334:in `block in run'
2019-09-13T13:34:32.403555+00:00 app[web.1]: [1b3ee105-47d4-442e-8217-148e22394df0] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/thread_pool.rb:135:in `block in spawn_thread'
`
Errors while loading the app:
2019-09-16T04:29:47.627757+00:00 app[web.1]: I, [2019-09-16T04:29:47.624535 #4] INFO -- : [9729e2c4-5417-4966-8332-2e9010d33d14] Started GET "/login?shop=dynamictask.myshopify.com" for 103.74.223.20 at 2019-09-16 04:29:47 +0000
2019-09-16T04:29:47.627784+00:00 app[web.1]: F, [2019-09-16T04:29:47.626650 #4] FATAL -- : [9729e2c4-5417-4966-8332-2e9010d33d14]
2019-09-16T04:29:47.627786+00:00 app[web.1]: F, [2019-09-16T04:29:47.626708 #4] FATAL -- : [9729e2c4-5417-4966-8332-2e9010d33d14] ActionController::RoutingError (No route matches [GET] "/login"):
2019-09-16T04:29:47.627788+00:00 app[web.1]: F, [2019-09-16T04:29:47.626741 #4] FATAL -- : [9729e2c4-5417-4966-8332-2e9010d33d14]
2019-09-16T04:29:47.627790+00:00 app[web.1]: F, [2019-09-16T04:29:47.626786 #4] FATAL -- : [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2019-09-16T04:29:47.627792+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2019-09-16T04:29:47.627794+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:36:in `call_app'
2019-09-16T04:29:47.627796+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:24:in `block in call'
2019-09-16T04:29:47.627797+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.7/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2019-09-16T04:29:47.627799+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.7/lib/active_support/tagged_logging.rb:26:in `tagged'
2019-09-16T04:29:47.627800+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.7/lib/active_support/tagged_logging.rb:69:in `tagged'
2019-09-16T04:29:47.627802+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:24:in `call'
2019-09-16T04:29:47.627803+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2019-09-16T04:29:47.627805+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2019-09-16T04:29:47.627806+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/rack-2.0.7/lib/rack/method_override.rb:22:in `call'
2019-09-16T04:29:47.627807+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/rack-2.0.7/lib/rack/runtime.rb:22:in `call'
2019-09-16T04:29:47.627812+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2019-09-16T04:29:47.627813+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'
2019-09-16T04:29:47.627815+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'
2019-09-16T04:29:47.627816+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/rack-2.0.7/lib/rack/sendfile.rb:111:in `call'
2019-09-16T04:29:47.627817+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'
2019-09-16T04:29:47.627819+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/configuration.rb:227:in `call'
2019-09-16T04:29:47.627820+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:660:in `handle_request'
2019-09-16T04:29:47.627822+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:474:in `process_client'
2019-09-16T04:29:47.627823+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:334:in `block in run'
2019-09-16T04:29:47.627825+00:00 app[web.1]: [9729e2c4-5417-4966-8332-2e9010d33d14] vendor/bundle/ruby/2.5.0/gems/puma-3.12.1/lib/puma/thread_pool.rb:135:in `block in spawn_thread'
2019-09-16T04:29:48.389553+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=obscure-ridge-95470.herokuapp.com request_id=e4cb3df9-ced9-4ae5-9461-75041afebd6f fwd="103.74.223.20" dyno=web.1 connect=1ms service=2ms status=200 bytes=143 protocol=https
2019-09-16T05:05:28.144787+00:00 heroku[web.1]: Idling
2019-09-16T05:05:28.159013+00:00 heroku[web.1]: State changed from up to down
2019-09-16T05:05:29.376624+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2019-09-16T05:05:29.384875+00:00 app[web.1]: === puma shutdown: 2019-09-16 05:05:29 +0000 ===
2019-09-16T05:05:29.384915+00:00 app[web.1]: - Goodbye!
2019-09-16T05:05:29.385066+00:00 app[web.1]: Exiting
2019-09-16T05:05:29.348475+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-09-16T05:05:29.464600+00:00 heroku[web.1]: Process exited with status 143
There is no any route for /login in your config/routes.rb code. I guess you should define one.
I am new to RoR and Heroku, i have uploded the app on github repo however am getting an error while running the app, on the browser. this is the screenshot of the error and the heroku log:-
Front end error message shows
"We're sorry, but something went wrong.
This error was automatically reported, sorry for the inconvenience."
2014-07-01T05:44:24.617831+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `new'
2014-07-01T05:44:24.617835+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:132:in `notify_or_ignore'
2014-07-01T05:44:24.617827+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/notice.rb:322:in `find_session_data'
2014-07-01T05:44:24.617833+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `build_notice_for'
2014-07-01T05:44:24.617818+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:273:in `session_exists?'
2014-07-01T05:44:24.617837+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:40:in `notify_airbrake'
2014-07-01T05:44:24.617821+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:107:in `exists?'
2014-07-01T05:44:24.617839+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:15:in `rescue in call'
2014-07-01T05:44:24.617843+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2014-07-01T05:44:24.617854+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2014-07-01T05:44:24.617856+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2014-07-01T05:44:24.617849+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'
2014-07-01T05:44:24.617852+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'
2014-07-01T05:44:24.617858+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2014-07-01T05:44:24.617890+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2014-07-01T05:44:24.617892+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2014-07-01T05:44:24.617902+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
2014-07-01T05:44:24.617904+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2014-07-01T05:44:24.617906+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2014-07-01T05:44:24.617908+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2014-07-01T05:44:24.617910+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2014-07-01T05:44:24.617912+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2014-07-01T05:44:24.617845+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/mi
ddleware/show_exceptions.rb:56:in `call'
2014-07-01T05:44:24.617915+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:12:in `call'
2014-07-01T05:44:24.617917+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
2014-07-01T05:44:24.617841+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:12:in `call'
2014-07-01T05:44:24.617847+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'
2014-07-01T05:44:24.617851+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'
2014-07-01T05:44:24.617913+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:16:in `_call'
2014-07-01T05:44:24.617919+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'
2014-07-01T05:44:24.617921+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-07-01T05:44:24.617922+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
2014-07-01T05:44:24.617924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
2014-07-01T05:44:24.617930+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2014-07-01T05:44:24.617926+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
2014-07-01T05:44:24.617934+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
2014-07-01T05:44:24.617928+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
2014-07-01T05:44:24.617931+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
2014-07-01T05:44:24.617936+00:00 app[web.1]:
2014-07-01T05:44:24.617938+00:00 app[web.1]:
2014-07-01T05:44:33.019295+00:00 heroku[router]: at=info method=GET path="/" host=goofycarpool.herokuapp.com request_id=51427406-bc26-48c4-9961-a27401d67249 fwd="122.174.120.48" dyno=web.1 connect=1ms service=80ms status=500 bytes=1778
2014-07-01T05:44:32.964192+00:00 app[web.1]: Started GET "/" for 122.174.120.48 at 2014-07-01 05:44:32 +0000
2014-07-01T05:44:33.018094+00:00 app[web.1]:
2014-07-01T05:44:33.018101+00:00 app[web.1]: ArgumentError (A secret is required to generate an integrity hash for cookie session data. Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb):
2014-07-01T05:44:33.018103+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:319:in `ensure_secret_secure'
2014-07-01T05:44:33.018105+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:284:in `initialize'
2014-07-01T05:44:33.018107+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:231:in `new'
2014-07-01T05:44:33.018108+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:231:in `signed'
2014-07-01T05:44:33.018113+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/cookie_store.rb:48:in `unpacked_cookie_data'
2014-07-01T05:44:33.018110+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/cookie_store.rb:50:in `block in unpacked_cookie_data'
2014-07-01T05:44:33.018112+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:57:in `stale_session_check!'
2014-07-01T05:44:33.018132+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:53:in `block in extract_session_id'
2014-07-01T05:44:33.018134+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:57:in `stale_session_check!'
2014-07-01T05:44:33.018129+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/cookie.rb:107:in `extract_session_id'
2014-07-01T05:44:33.018145+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:273:in `session_exists?'
2014-07-01T05:44:33.018139+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:43:in `load_session_id!'
2014-07-01T05:44:33.018136+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:53:in `extract_session_id'
2014-07-01T05:44:33.018141+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:32:in `[]'
2014-07-01T05:44:33.018143+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:267:in `current_session_id'
2014-07-01T05:44:33.018147+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:107:in `exists?'
2014-07-01T05:44:33.018149+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:127:in `load_for_read!'
2014-07-01T05:44:33.018160+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `build_notice_for'
2014-07-01T05:44:33.018158+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `new'
2014-07-01T05:44:33.018162+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:132:in `notify_or_ignore'
2014-07-01T05:44:33.018154+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/notice.rb:322:in `find_session_data'
2014-07-01T05:44:33.018156+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/notice.rb:131:in `initialize'
2014-07-01T05:44:33.018164+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:40:in `notify_airbrake'
2014-07-01T05:44:33.018151+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:59:in `[]'
2014-07-01T05:44:33.018228+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'
2014-07-01T05:44:33.018230+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'
2014-07-01T05:44:33.018221+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2014-07-01T05:44:33.018223+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2014-07-01T05:44:33.018241+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2014-07-01T05:44:33.018214+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:15:in `rescue in call'
2014-07-01T05:44:33.018239+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2014-07-01T05:44:33.018219+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:12:in `call'
2014-07-01T05:44:33.018243+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2014-07-01T05:44:33.018255+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
2014-07-01T05:44:33.018226+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'
2014-07-01T05:44:33.018257+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2014-07-01T05:44:33.018232+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'
2014-07-01T05:44:33.018258+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2014-07-01T05:44:33.018260+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2014-07-01T05:44:33.018236+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2014-07-01T05:44:33.018261+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2014-07-01T05:44:33.018264+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:16:in `_call'
2014-07-01T05:44:33.018234+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2014-07-01T05:44:33.018270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-07-01T05:44:33.018266+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:12:in `call'
2014-07-01T05:44:33.018263+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2014-07-01T05:44:33.018269+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'
2014-07-01T05:44:33.018272+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
2014-07-01T05:44:33.018267+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
2014-07-01T05:44:33.018280+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
2014-07-01T05:44:33.018277+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2014-07-01T05:44:33.018273+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
2014-07-01T05:44:33.018283+00:00 app[web.1]:
2014-07-01T05:44:33.018279+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
2014-07-01T05:44:33.018276+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
2014-07-01T05:44:33.018281+00:00 app[web.1]:
2014-07-01T05:44:33.018274+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
run
$ rake secret
and then paste the output string in config/initializers/secret_token.rb
MyAppNAME_GOES_HERE::Application.config.secret_key_base = 'e5d6fed054aadcb955c17d90ab0cae35b9921e3af7fa0f88ba2b8bcee6ab1b087e34c2081c867b42093f81197bd4272c49a2337fc7d31b6f892ae6ef57e842d7'
now commit & push all changes to heroku.
PS: Instead of harder-coded secret_key_base, it makes more sense from security prespective to set this a ENV var on heroku, like this:
$ heroku config:set SECRET_KEY_BASE=that_random_string_goes_here
for more details on how to do this, check this. But if you just getting starting started, you can learn how to do this later & this hard-coded will workout any problems
Never place the secret key in the config/initializers/secret_token.rb file directly.
It is a security threat always
Instead create an ENV variable as
MyAppNAME_GOES_HERE::Application.config.secret_key_base = ENV[SECRET_KEY]
and place the SECRET_KEY in heroku setting under Heroku login >> under_app >> setting >> reveal config vars
and finally restart your application
I am at chapter 3 of Michael Hartl's tutorial but when I do git push heroku master and it says that it has been deployed to heroku successfully but when I go to the url: http://young-thicket-2043.herokuapp.com/ it says that the app cannot be seen.
I've checked out heroku logs and this was given:
2014-07-02T08:07:16.462137+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:07:16.462132+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:07:16.462138+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:07:16.462148+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:07:16.462150+00:00 app[web.1]:
2014-07-02T08:07:16.462151+00:00 app[web.1]:
2014-07-02T08:07:16.462158+00:00 app[web.1]:
2014-07-02T08:07:16.462159+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:07:16.462161+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:07:16.462162+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:07:16.462164+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:07:16.462165+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:07:16.462167+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:07:16.462168+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:07:16.462170+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:07:16.462171+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:07:16.462173+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:07:16.462174+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:07:16.462176+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:07:16.462177+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:07:16.462180+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:07:16.462194+00:00 app[web.1]:
2014-07-02T08:07:16.462179+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:07:16.462184+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:07:16.462185+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-07-02T08:07:16.462187+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-07-02T08:07:16.462181+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:07:16.462183+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:07:16.462191+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:07:16.462192+00:00 app[web.1]:
2014-07-02T08:07:16.462188+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:07:16.462190+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:07:16.781513+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=young-thicket-2043.herokuapp.com request_id=f65ad084-f721-4a4c-8f99-bdd1938d4dd4 fwd="192.122.131.37" dyno=web.1 connect=0ms service=5ms status=304 bytes=133
2014-07-02T08:16:35.325747+00:00 heroku[router]: at=info method=GET path="/" host=young-thicket-2043.herokuapp.com request_id=4fc6cfec-39d8-4a2c-ac04-09013042ca7b fwd="192.122.131.37" dyno=web.1 connect=1ms service=520ms status=404 bytes=1616
2014-07-02T08:16:35.319865+00:00 app[web.1]:
2014-07-02T08:16:35.319873+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:16:35.319874+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:16:35.319870+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:16:35.217481+00:00 app[web.1]: Started GET "/" for 192.122.131.37 at 2014-07-02 08:16:35 +0000
2014-07-02T08:16:35.319876+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:16:35.319891+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:16:35.319878+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:16:35.319892+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:16:35.319880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:16:35.319881+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:16:35.319921+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:16:35.319883+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:16:35.319886+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:16:35.319884+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:16:35.225563+00:00 app[web.1]: Started GET "/" for 192.122.131.37 at 2014-07-02 08:16:35 +0000
2014-07-02T08:16:35.319919+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:16:35.321135+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:16:35.321133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:16:35.319923+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:16:35.319887+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:16:35.321127+00:00 app[web.1]:
2014-07-02T08:16:35.319895+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:16:35.319897+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:16:35.319894+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:16:35.321137+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:16:35.321145+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:16:35.321147+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:16:35.321134+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:16:35.321138+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:16:35.319901+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-07-02T08:16:35.319899+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-07-02T08:16:35.319898+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:16:35.319925+00:00 app[web.1]:
2014-07-02T08:16:35.319889+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:16:35.319924+00:00 app[web.1]:
2014-07-02T08:16:35.321141+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:16:35.321161+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:16:35.321140+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:16:35.321130+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:16:35.321144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:16:35.321151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:16:35.321149+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:16:35.321131+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:16:35.321158+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:16:35.321148+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:16:35.321155+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-07-02T08:16:35.321162+00:00 app[web.1]:
2014-07-02T08:16:35.321142+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:16:35.321154+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:16:35.321152+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:16:35.321156+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-07-02T08:16:35.321159+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:16:35.321163+00:00 app[web.1]:
2014-07-02T08:16:35.764555+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=young-thicket-2043.herokuapp.com request_id=ca661424-73d7-4799-8ad7-5fed577fd9c2 fwd="192.122.131.37" dyno=web.1 connect=1ms service=52ms status=304 bytes=133
2014-07-02T08:16:40.905460+00:00 heroku[api]: Starting process with command `bundle exec rake db` by huicheese#gmail.com
2014-07-02T08:16:44.546386+00:00 heroku[run.7223]: State changed from starting to up
2014-07-02T08:16:44.833806+00:00 heroku[run.7223]: Awaiting client
2014-07-02T08:16:55.930802+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese#gmail.com
2014-07-02T08:16:59.934050+00:00 heroku[run.6502]: State changed from starting to up
2014-07-02T08:16:59.814001+00:00 heroku[run.6502]: Awaiting client
2014-07-02T08:17:16.236553+00:00 heroku[run.7223]: State changed from up to complete
2014-07-02T08:17:16.224283+00:00 heroku[run.7223]: Process exited with status 128
2014-07-02T08:17:14.840989+00:00 heroku[run.7223]: Error R13 (Attach error) -> Failed to attach to process
2014-07-02T08:17:31.040049+00:00 heroku[run.6502]: State changed from up to complete
2014-07-02T08:17:29.816567+00:00 heroku[run.6502]: Error R13 (Attach error) -> Failed to attach to process
2014-07-02T08:17:31.023583+00:00 heroku[run.6502]: Process exited with status 128
Can anyone shed some light on this?
If you look at your logs you can see
ActionController::RoutingError (No route matches [GET] "/")
Which basically means that you don't have any root route setup in your routes.rb. Inside your routes.rb add this line:
root 'pages#show'
By writing this you are setting your root route to Page Controllers show action
I have a little proof of concept app that I am getting together on heroku. It will run and behave as expected on the browser but will fail on mobile.
You can see it here:
http://thawing-cove-7208.herokuapp.com
Here is a log right after a failure on mobile:
2014-02-10T03:26:27.426650+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
2014-02-10T03:26:27.426650+00:00 app[web.1]:
2014-02-10T03:26:27.426650+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
2014-02-10T03:26:27.426650+00:00 app[web.1]:
2014-02-10T03:26:39.505641+00:00 app[web.1]: Started GET "/" for 108.236.114.85 at 2014-02-10 03:26:39 +0000
2014-02-10T03:26:39.511019+00:00 app[web.1]: Rendered sessions/new.html.erb within layouts/application (2.3ms)
2014-02-10T03:26:39.511837+00:00 app[web.1]: Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
2014-02-10T03:26:39.506849+00:00 app[web.1]: Processing by SessionsController#new as HTML
2014-02-10T03:27:20.743657+00:00 app[web.1]: Processing by SessionsController#create as HTML
2014-02-10T03:27:20.743657+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"kNcR0PGYPqQoIvaA7k0E3KNo7uoXiWltLEv89bZ+KAQ=", "email"=>"ianseabock#gmail.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2014-02-10T03:27:20.742094+00:00 app[web.1]: Started POST "/sessions" for 108.236.114.85 at 2014-02-10 03:27:20 +0000
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/request_forgery_protection.rb:170:in `handle_unverified_request'
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/request_forgery_protection.rb:163:in `handle_unverified_request'
2014-02-10T03:27:20.744177+00:00 app[web.1]: Can't verify CSRF token authenticity
2014-02-10T03:27:20.744524+00:00 app[web.1]: Completed 422 Unprocessable Entity in 1ms
2014-02-10T03:27:20.746775+00:00 app[web.1]:
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/request_forgery_protection.rb:177:in `verify_authenticity_token'
2014-02-10T03:27:20.746775+00:00 app[web.1]: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:377:in `_run__215575419083342757__process_action__callbacks'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
2014-02-10T03:27:20.746775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:231:in `block in action'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `call'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:195:in `dispatch'
2014-02-10T03:27:20.746963+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:71:in `block in call'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `each'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:552:in `process_client'
2014-02-10T03:27:20.748351+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:632:in `worker_loop'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:680:in `call'
2014-02-10T03:27:20.748351+00:00 app[web.1]:
2014-02-10T03:27:20.748351+00:00 app[web.1]:
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2014-02-10T03:27:20.747133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:48:in `call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:373:in `_run__1485798236090211319__call__callbacks'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/cookies.rb:486:in `call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/flash.rb:241:in `call'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2014-02-10T03:27:20.747667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/query_cache.rb:36:in `call'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-02-10T03:27:20.747835+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
2014-02-10T03:27:20.748351+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
2014-02-10T03:27:20.748351+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
2014-02-10T03:27:20.748182+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-02-10T03:27:20.748351+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/bin/unicorn:126:in `<top (required)>'
2014-02-10T03:27:20.748351+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
2014-02-10T03:27:20.748351+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:142:in `start'
2014-02-10T03:27:35.460430+00:00 app[web.1]: Processing by SessionsController#new as HTML
2014-02-10T03:27:35.464639+00:00 app[web.1]: Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
2014-02-10T03:27:35.458712+00:00 app[web.1]: Started GET "/" for 108.236.114.85 at 2014-02-10 03:27:35 +0000
2014-02-10T03:27:35.463853+00:00 app[web.1]: Rendered sessions/new.html.erb within layouts/application (1.9ms)
2014-02-10T03:38:46+00:00 heroku[slug-compiler]: Slug compilation started
2014-02-10T03:39:02.843652+00:00 heroku[api]: Deploy 1c4f85b by ianseabock#gmail.com
2014-02-10T03:39:02.867205+00:00 heroku[api]: Release v10 created by ianseabock#gmail.com
2014-02-10T03:39:03+00:00 heroku[slug-compiler]: Slug compilation finished
2014-02-10T03:39:03.583295+00:00 heroku[web.1]: State changed from up to starting
2014-02-10T03:39:06.075197+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2014-02-10T03:39:06.613676+00:00 app[web.1]: Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUITUnicorn master intercepting TERM and sending myself QUIT insteadUnicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT
2014-02-10T03:39:06.613676+00:00 app[web.1]:
2014-02-10T03:39:06.613676+00:00 app[web.1]:
2014-02-10T03:39:06.613676+00:00 app[web.1]: Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT
2014-02-10T03:39:06.815873+00:00 app[web.1]: I, [2014-02-10T03:39:06.815671 #2] INFO -- : reaped #<Process::Status: pid 5 exit 0> worker=0
2014-02-10T03:39:06.916273+00:00 app[web.1]: I, [2014-02-10T03:39:06.916123 #2] INFO -- : reaped #<Process::Status: pid 8 exit 0> worker=1
2014-02-10T03:39:06.916530+00:00 app[web.1]: I, [2014-02-10T03:39:06.916438 #2] INFO -- : master complete
2014-02-10T03:39:06.916352+00:00 app[web.1]: I, [2014-02-10T03:39:06.916270 #2] INFO -- : reaped #<Process::Status: pid 11 exit 0> worker=2
2014-02-10T03:39:08.387080+00:00 heroku[web.1]: Process exited with status 0
2014-02-10T03:39:11.476410+00:00 heroku[web.1]: State changed from starting to up
Can't verify CSRF token authenticity
That seems to be your problem
Have you included <%= csrf_meta_tags %> in your mobile layout anywhere?
Windows 7, re-installed latest rails version from railsinstaller.org today.
"heroku push" was successful.
db migration successful.
"heroku open" gives "page you were looking for doesn't exist"
I've deployed before using Rails 4 and didn't have any problems. Just today.
Please help!
Thanks
Log:
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-08-23T21:15:17.504807+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-08-23T21:15:17.504807+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-08-23T21:15:17.505102+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-08-23T21:15:17.505102+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-08-23T21:15:17.504964+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-08-23T21:15:17.505102+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-08-23T21:15:17.505102+00:00 app[web.1]:
2013-08-23T21:15:17.723887+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=guarded-gorge-3135.herokuapp.com fwd="162.195.72.6" dyno=web.1 connect=1ms service=6ms status=200 bytes=0
2013-08-23T22:20:12.963327+00:00 heroku[web.1]: Idling
2013-08-23T22:20:14.362146+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2013-08-23T22:20:14.598243+00:00 app[web.1]: [2013-08-23 22:20:14] FATAL SignalException: SIGTERM
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:84:in `start'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-08-23T22:20:14.598462+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-08-23T22:20:14.598462+00:00 app[web.1]: bin/rails:4:in `require'
2013-08-23T22:20:14.598462+00:00 app[web.1]: [2013-08-23 22:20:14] INFO WEBrick::HTTPServer#start done.
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2013-08-23T22:20:14.598243+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2013-08-23T22:20:14.598462+00:00 app[web.1]: [2013-08-23 22:20:14] INFO going to shutdown ...
2013-08-23T22:20:14.598462+00:00 app[web.1]: bin/rails:4:in `<main>'
2013-08-23T22:20:14.598462+00:00 app[web.1]: Exiting
2013-08-23T22:20:15.813174+00:00 heroku[web.1]: Process exited with status 143
2013-08-23T22:20:15.831103+00:00 heroku[web.1]: State changed from up to down
2013-08-23T22:24:29.867171+00:00 heroku[web.1]: State changed from down to starting
2013-08-23T22:24:29.866819+00:00 heroku[web.1]: Unidling
2013-08-23T22:24:34.878609+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 38733 -e $RAILS_ENV`
2013-08-23T22:24:37.305692+00:00 app[web.1]: [2013-08-23 22:24:37] INFO ruby 2.0.0 (2013-06-27) [x86_64-linux]
2013-08-23T22:24:37.305692+00:00 app[web.1]: [2013-08-23 22:24:37] INFO WEBrick 1.3.1
2013-08-23T22:24:37.305872+00:00 app[web.1]: [2013-08-23 22:24:37] INFO WEBrick::HTTPServer#start: pid=2 port=38733
2013-08-23T22:24:37.368038+00:00 heroku[web.1]: State changed from starting to up
2013-08-23T22:24:37.956733+00:00 app[web.1]: => Rails 4.0.0 application starting in production on http://0.0.0.0:38733
2013-08-23T22:24:37.956733+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-08-23T22:24:37.956733+00:00 app[web.1]: => Booting WEBrick
2013-08-23T22:24:37.956733+00:00 app[web.1]: => Run `rails server -h` for more startup options
2013-08-23T22:24:37.956733+00:00 app[web.1]: Started GET "/" for 162.195.72.6 at 2013-08-23 22:24:37 +0000
2013-08-23T22:24:37.956733+00:00 app[web.1]: Started GET "/" for 162.195.72.6 at 2013-08-23 22:24:37 +0000
2013-08-23T22:24:51.915852+00:00 heroku[router]: at=info method=GET path=/ host=guarded-gorge-3135.herokuapp.com fwd="162.195.72.6" dyno=web.1 connect=3ms service=13967ms status=404 bytes=1351
2013-08-23T22:24:51.914222+00:00 app[web.1]:
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-08-23T22:24:51.914222+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-08-23T22:24:51.914574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-08-23T22:24:51.914574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-08-23T22:24:51.914574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-08-23T22:24:51.914574+00:00 app[web.1]:
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-08-23T22:24:51.914574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-08-23T22:24:51.914574+00:00 app[web.1]:
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-08-23T22:24:51.914222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-08-23T22:24:51.914574+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-08-23T22:24:51.914574+00:00 app[web.1]:
2013-08-23T22:24:51.914420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-08-23T22:24:51.914574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-08-23T22:24:51.915113+00:00 app[web.1]:
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-08-23T22:24:51.914574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-08-23T22:24:51.915113+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-08-23T22:24:51.914966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-08-23T22:24:51.915113+00:00 app[web.1]:
2013-08-23T22:24:52.238356+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=guarded-gorge-3135.herokuapp.com fwd="162.195.72.6" dyno=web.1 connect=4ms service=7ms status=304 bytes=0
It doesn't look like you have an error - just that you haven't set a route for the root. ie. something like this in routes.rb root 'home#index'.
PS. Note that Rails 4 does something weird in production - it behaves differently to development mode, and expects an explicit root route defined.