Rails server will not stop crashing

rails

#1

Hi all,

The server starts fine, but when I try to hit the site I get the following error:

=> Booting WEBrick
=> Rails 4.2.4 application starting in development on http://0.0.0.0:8080
=> Run rails server -h for more startup options
=> Ctrl-C to shutdown server
[2015-12-14 16:34:37] INFO WEBrick 1.3.1
[2015-12-14 16:34:37] INFO ruby 2.2.1 (2015-02-26) [x86_64-linux]
[2015-12-14 16:34:37] INFO WEBrick::HTTPServer#start: pid=16495 port=8080

Started GET “/” for 209.202.78.3 at 2015-12-14 16:34:49 +0000
Cannot render console from 209.202.78.3! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
ActiveRecord::SchemaMigration Load (0.2ms) SELECT “schema_migrations”.* FROM "schema_migrations"
Processing by PagesController#home as HTML
Rendered pages/home.html.erb within layouts/application (1.8ms)
Rendered layouts/_navigation.html.erb (1.0ms)
Rendered layouts/_messages.html.erb (0.6ms)
Rendered layouts/_footer.html.erb (0.4ms)
Completed 200 OK in 530ms (Views: 515.4ms | ActiveRecord: 0.0ms)
bash: line 2: 16495 Killed “bash” “–login” “-c” "rails server -p 8080 -b 0.0.0.0 "

Process exited with code: 137

Help & thank you!


#2

Hi,

Quick search on “cannot render console” turned up this: http://stackoverflow.com/questions/29417328/how-to-disable-cannot-render-console-from-on-rails

It seems to address a similar problem,

Hope it helps,
Matthijs


#3

Thanks to those who replied. The issue was that I had run out of memory. I restarted the instance and the problem went away.