Search code examples
ruby-on-railsrailstutorial.orgcloud9-ide

Running Rails Server on Cloud9 results in 'Server timed out or sent incomplete response'


I've been following the railstutorial.org and have everything has been running fine, but now when I run rails server -b $IP -p $PORT, the rails server seems to take forever to respond, causing the cloud9 proxy to time out and send this message:

Something went wrong !

Server timed out or sent incomplete response

Click here to try again, or Go back to dashboard. If that still doesn't work, please Issue a bug report.

Any idea how I can work around this/resolve it to get a working production preview?


Solution

  • I just noticed that you wrote:

    rails server -b -$IP ...
    

    There shouldn't be a - before $IP. Can you see if that resolves the issue?